Skip to content

Commit

Permalink
Add magic-nix-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
knuton authored Mar 31, 2024
1 parent ad2755a commit 9134230
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
system-features = nixos-test benchmark big-parallel kvm
- uses: DeterminateSystems/magic-nix-cache-action@v4
- run: NIXPKGS_ALLOW_UNFREE=1 nix-build ${{ matrix.file }}

kiosk-tests:
Expand All @@ -39,6 +40,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
system-features = nixos-test benchmark big-parallel kvm
- uses: DeterminateSystems/magic-nix-cache-action@v4
- run: cd kiosk && nix-shell --run bin/test

build-vm:
Expand All @@ -50,4 +52,5 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
system-features = nixos-test benchmark big-parallel kvm
- uses: DeterminateSystems/magic-nix-cache-action@v4
- run: NIXPKGS_ALLOW_UNFREE=1 ./build vm

0 comments on commit 9134230

Please sign in to comment.