Compare commits
2 Commits
c7358c7224
...
910d7fbef7
Author | SHA1 | Date | |
---|---|---|---|
910d7fbef7 | |||
296a5505a3 |
2
.github/workflows/build-then-cache.yaml
vendored
2
.github/workflows/build-then-cache.yaml
vendored
@ -17,5 +17,5 @@ jobs:
|
|||||||
cache: ${{ secrets.ATTIC_CACHE }}
|
cache: ${{ secrets.ATTIC_CACHE }}
|
||||||
token: ${{ secrets.ATTIC_TOKEN }}
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
# free useless disk space
|
# 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'
|
- run: 'nix build .#nixosConfigurations.nullbox.config.system.build.toplevel'
|
||||||
|
12
.github/workflows/proactive-update.yaml
vendored
12
.github/workflows/proactive-update.yaml
vendored
@ -20,9 +20,9 @@ jobs:
|
|||||||
cache: ${{ secrets.ATTIC_CACHE }}
|
cache: ${{ secrets.ATTIC_CACHE }}
|
||||||
token: ${{ secrets.ATTIC_TOKEN }}
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
# free useless disk space
|
# 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 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:
|
build_x86:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
@ -36,8 +36,8 @@ jobs:
|
|||||||
cache: ${{ secrets.ATTIC_CACHE }}
|
cache: ${{ secrets.ATTIC_CACHE }}
|
||||||
token: ${{ secrets.ATTIC_TOKEN }}
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
# free useless disk space
|
# 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 flake update'
|
||||||
- run: 'nix build .#nixosConfigurations.nullbox.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 build .#nixosConfigurations.slab.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 build .#nixosConfigurations.nixos-wsl.config.system.build.toplevel'
|
- run: 'nix develop .#ci --command nix-fast-build --no-nom --skip-cache -f .#nixosConfigurations.nixos-wsl.config.system.build.toplevel'
|
||||||
|
@ -343,6 +343,12 @@
|
|||||||
devShells = eachSystem (system: let
|
devShells = eachSystem (system: let
|
||||||
pkgs = import nixpkgs-unstable { inherit system; };
|
pkgs = import nixpkgs-unstable { inherit system; };
|
||||||
in {
|
in {
|
||||||
|
ci = pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
nix-update
|
||||||
|
nix-fast-build
|
||||||
|
];
|
||||||
|
};
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
nix-update
|
nix-update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user