Compare commits

..

No commits in common. "0884e391ac718c865977d86ce07fde3fb74a4352" and "d5f75437c28328107040b7e1c95fd2937f76092e" have entirely different histories.

3 changed files with 4 additions and 27 deletions

View File

@ -2,11 +2,11 @@ name: Build and upload to Attic cache
on:
push:
branches:
- "main"
- "build-test"
jobs:
build_arm:
runs-on: ubuntu-24.04-arm
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
@ -18,22 +18,4 @@ jobs:
token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space
- run: 'bash ci/util_free_space_extreme.sh'
# TODO: figure out how to use flake checks and use those to build it
- 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:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/flake-checker-action@main
- uses: ryanccn/attic-action@v0
with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space
- run: 'bash ci/util_free_space_extreme.sh'
# TODO: figure out how to use flake checks and use those to build it
- 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'
- run: 'nix build .#nixosConfigurations.nullbox.config.system.build.toplevel'

View File

@ -84,8 +84,6 @@ in
nix-tree
nh
nix-output-monitor
attic
nix-fast-build
git
git-lfs

View File

@ -71,9 +71,6 @@ in
# able to handle simple rebuilds offline)
nix.settings.fallback = lib.mkDefault true;
# Allow use of nix binary cache for every derivation
nix.settings.always-allow-substitutes = lib.mkDefault true;
# trust all members of wheel. this technically can give you root power,
# but if you've compromised a member of wheel, you might as well already
# be root; you could easily intercept a sudo call.