Compare commits

..

2 Commits

Author SHA1 Message Date
910d7fbef7
actions: use nix-fast-build 2025-02-04 12:27:35 -05:00
296a5505a3
actions: use local cleanup script 2025-02-04 12:10:26 -05:00
3 changed files with 13 additions and 7 deletions

View File

@ -17,5 +17,5 @@ jobs:
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space
- run: 'curl https://raw.githubusercontent.com/apache/arrow/31747f067a6ae29eca2d9bc68748500a8163d83e/ci/scripts/util_free_space.sh | bash'
- run: 'bash ci/util_free_space_extreme.sh'
- run: 'nix build .#nixosConfigurations.nullbox.config.system.build.toplevel'

View File

@ -20,9 +20,9 @@ jobs:
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space
- run: 'curl https://raw.githubusercontent.com/apache/arrow/31747f067a6ae29eca2d9bc68748500a8163d83e/ci/scripts/util_free_space.sh | bash'
- run: 'bash ci/util_free_space_extreme.sh'
- run: 'nix flake update'
- run: 'nix build .#nixosConfigurations.rpi4.config.system.build.toplevel'
- run: 'nix develop .#ci --command nix-fast-build --no-nom --skip-cache -f .#nixosConfigurations.rpi4.config.system.build.toplevel'
build_x86:
runs-on: ubuntu-24.04
@ -36,8 +36,8 @@ jobs:
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
# free useless disk space
- run: 'curl https://raw.githubusercontent.com/apache/arrow/31747f067a6ae29eca2d9bc68748500a8163d83e/ci/scripts/util_free_space.sh | bash'
- run: 'bash ci/util_free_space_extreme.sh'
- run: 'nix flake update'
- run: 'nix build .#nixosConfigurations.nullbox.config.system.build.toplevel'
- run: 'nix build .#nixosConfigurations.slab.config.system.build.toplevel'
- run: 'nix build .#nixosConfigurations.nixos-wsl.config.system.build.toplevel'
- run: 'nix develop .#ci --command nix-fast-build --no-nom --skip-cache -f .#nixosConfigurations.nullbox.config.system.build.toplevel'
- run: 'nix develop .#ci --command nix-fast-build --no-nom --skip-cache -f .#nixosConfigurations.slab.config.system.build.toplevel'
- run: 'nix develop .#ci --command nix-fast-build --no-nom --skip-cache -f .#nixosConfigurations.nixos-wsl.config.system.build.toplevel'

View File

@ -343,6 +343,12 @@
devShells = eachSystem (system: let
pkgs = import nixpkgs-unstable { inherit system; };
in {
ci = pkgs.mkShell {
buildInputs = with pkgs; [
nix-update
nix-fast-build
];
};
default = pkgs.mkShell {
buildInputs = with pkgs; [
nix-update