Compare commits
3 Commits
5e40d0ca60
...
1f1ddb521b
Author | SHA1 | Date | |
---|---|---|---|
1f1ddb521b | |||
ac5c851462 | |||
4e7f8a79b7 |
32
.github/workflows/build-then-cache.yaml
vendored
32
.github/workflows/build-then-cache.yaml
vendored
@ -9,12 +9,8 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@v16
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
- uses: DeterminateSystems/flake-checker-action@main
|
||||||
extra-conf: |
|
|
||||||
keep-going = true
|
|
||||||
fallback = true
|
|
||||||
- uses: DeterminateSystems/flake-checker-action@v9
|
|
||||||
- uses: ryanccn/attic-action@v0
|
- uses: ryanccn/attic-action@v0
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||||
@ -23,35 +19,27 @@ jobs:
|
|||||||
# free useless disk space
|
# free useless disk space
|
||||||
- run: 'bash ci/util_free_space_extreme.sh'
|
- run: 'bash ci/util_free_space_extreme.sh'
|
||||||
# TODO: figure out how to use flake checks and use those to build it
|
# TODO: figure out how to use flake checks and use those to build it
|
||||||
- run: 'nix develop .#ci --command bash ci/run_builds.sh'
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.rpi4.config.system.build.toplevel'
|
||||||
|
|
||||||
build_x86-64_packages:
|
build_x86-64_packages:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@v16
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
- uses: DeterminateSystems/flake-checker-action@main
|
||||||
extra-conf: |
|
|
||||||
keep-going = true
|
|
||||||
fallback = true
|
|
||||||
- uses: DeterminateSystems/flake-checker-action@v9
|
|
||||||
- uses: ryanccn/attic-action@v0
|
- uses: ryanccn/attic-action@v0
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||||
cache: ${{ secrets.ATTIC_CACHE }}
|
cache: ${{ secrets.ATTIC_CACHE }}
|
||||||
token: ${{ secrets.ATTIC_TOKEN }}
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
- run: 'nix develop .#ci --command bash ci/run_builds.sh packages'
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#packages.x86_64-linux.redlib'
|
||||||
|
|
||||||
build_x86-64:
|
build_x86-64:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@v16
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
- uses: DeterminateSystems/flake-checker-action@main
|
||||||
extra-conf: |
|
|
||||||
keep-going = true
|
|
||||||
fallback = true
|
|
||||||
- uses: DeterminateSystems/flake-checker-action@v9
|
|
||||||
- uses: ryanccn/attic-action@v0
|
- uses: ryanccn/attic-action@v0
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||||
@ -60,4 +48,6 @@ jobs:
|
|||||||
# free useless disk space
|
# free useless disk space
|
||||||
- run: 'bash ci/util_free_space_extreme.sh'
|
- run: 'bash ci/util_free_space_extreme.sh'
|
||||||
# TODO: figure out how to use flake checks and use those to build it
|
# TODO: figure out how to use flake checks and use those to build it
|
||||||
- run: 'nix develop .#ci --command bash ci/run_builds.sh config'
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.slab.config.system.build.toplevel'
|
||||||
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.nullbox.config.system.build.toplevel'
|
||||||
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.nixos-wsl.config.system.build.toplevel'
|
||||||
|
22
.github/workflows/proactive-update.yaml
vendored
22
.github/workflows/proactive-update.yaml
vendored
@ -12,12 +12,8 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@v16
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
- uses: DeterminateSystems/flake-checker-action@main
|
||||||
extra-conf: |
|
|
||||||
keep-going = true
|
|
||||||
fallback = true
|
|
||||||
- uses: DeterminateSystems/flake-checker-action@v9
|
|
||||||
- uses: ryanccn/attic-action@v0
|
- uses: ryanccn/attic-action@v0
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||||
@ -26,18 +22,14 @@ jobs:
|
|||||||
# free useless disk space
|
# free useless disk space
|
||||||
- run: 'bash ci/util_free_space_extreme.sh'
|
- run: 'bash ci/util_free_space_extreme.sh'
|
||||||
- run: 'nix flake update'
|
- run: 'nix flake update'
|
||||||
- run: 'nix develop .#ci --command bash ci/run_builds.sh'
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.rpi4.config.system.build.toplevel'
|
||||||
|
|
||||||
build_x86:
|
build_x86:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@v16
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
- uses: DeterminateSystems/flake-checker-action@main
|
||||||
extra-conf: |
|
|
||||||
keep-going = true
|
|
||||||
fallback = true
|
|
||||||
- uses: DeterminateSystems/flake-checker-action@v9
|
|
||||||
- uses: ryanccn/attic-action@v0
|
- uses: ryanccn/attic-action@v0
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||||
@ -46,4 +38,6 @@ jobs:
|
|||||||
# free useless disk space
|
# free useless disk space
|
||||||
- run: 'bash ci/util_free_space_extreme.sh'
|
- run: 'bash ci/util_free_space_extreme.sh'
|
||||||
- run: 'nix flake update'
|
- run: 'nix flake update'
|
||||||
- run: 'nix develop .#ci --command bash ci/run_builds.sh'
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.nullbox.config.system.build.toplevel'
|
||||||
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.slab.config.system.build.toplevel'
|
||||||
|
- run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.nixos-wsl.config.system.build.toplevel'
|
||||||
|
@ -1,57 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -Exo pipefail
|
|
||||||
|
|
||||||
err=0
|
|
||||||
|
|
||||||
set_error () {
|
|
||||||
err=1
|
|
||||||
}
|
|
||||||
|
|
||||||
trap set_error ERR
|
|
||||||
|
|
||||||
system="$(nix eval --impure --raw --expr 'builtins.currentSystem')"
|
|
||||||
|
|
||||||
|
|
||||||
run_builds () {
|
|
||||||
for i in "$@" ; do
|
|
||||||
nix-fast-build --eval-workers 1 --no-nom --skip-cache --attic-cache main -f "$i"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
build_systems () {
|
|
||||||
case "$system" in
|
|
||||||
x86_64-linux) run_builds \
|
|
||||||
.\#nixosConfigurations.nullbox.config.system.build.toplevel \
|
|
||||||
.\#nixosConfigurations.slab.config.system.build.toplevel \
|
|
||||||
.\#nixosConfigurations.nixos-wsl.config.system.build.toplevel \
|
|
||||||
;;
|
|
||||||
|
|
||||||
aarch64-linux) run_builds \
|
|
||||||
.\#nixosConfigurations.rpi4.config.system.build.toplevel \
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
build_packages () {
|
|
||||||
run_builds .\#packages."${system}".redlib
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if [[ "$#" -ne 0 ]] ; then
|
|
||||||
until [[ "$#" -le 0 ]]; do
|
|
||||||
case "$1" in
|
|
||||||
pkgs|packages) DO_PACKAGES=1;;
|
|
||||||
config) DO_CONFIG=1;;
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
else
|
|
||||||
DO_PACKAGES=1
|
|
||||||
DO_CONFIG=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -n "${DO_CONFIG:+x}" ]] ; then build_systems; fi
|
|
||||||
if [[ -n "${DO_PACKAGES:+x}" ]] ; then build_packages; fi
|
|
||||||
|
|
||||||
exit $err
|
|
@ -26,7 +26,6 @@ LinkedInLunatics
|
|||||||
linux
|
linux
|
||||||
linux_gaming
|
linux_gaming
|
||||||
losercity
|
losercity
|
||||||
MINDWAVEgame
|
|
||||||
NixOS
|
NixOS
|
||||||
NonBinaryTalk
|
NonBinaryTalk
|
||||||
okbuddyhetero
|
okbuddyhetero
|
||||||
|
@ -37,10 +37,27 @@ in {
|
|||||||
|
|
||||||
gimp-with-plugins = gimp-with-plugins-good;
|
gimp-with-plugins = gimp-with-plugins-good;
|
||||||
|
|
||||||
nwg-displays = let
|
easyeffects = let
|
||||||
stable = pkgsStable.nwg-displays;
|
stable = pkgsStable.easyeffects;
|
||||||
unstable = prev.nwg-displays;
|
unstable = prev.easyeffects;
|
||||||
now = 1739114541;
|
in if updateTime < 1726148749 then stable else unstable;
|
||||||
|
|
||||||
|
compsize = let
|
||||||
|
stable = pkgsStable.compsize;
|
||||||
|
unstable = prev.compsize;
|
||||||
|
now = 1724786296;
|
||||||
|
in hold now 7 stable unstable;
|
||||||
|
|
||||||
|
qgis = let
|
||||||
|
stable = pkgsStable.qgis;
|
||||||
|
unstable = prev.qgis;
|
||||||
|
now = 1733871491;
|
||||||
|
in hold now 7 stable unstable;
|
||||||
|
|
||||||
|
rmlint = let
|
||||||
|
stable = pkgsStable.rmlint;
|
||||||
|
unstable = prev.rmlint;
|
||||||
|
now = 1736384218;
|
||||||
in hold now 7 stable unstable;
|
in hold now 7 stable unstable;
|
||||||
|
|
||||||
redlib = let
|
redlib = let
|
||||||
|
Loading…
x
Reference in New Issue
Block a user