@@ -18,22 +18,38 @@ jobs:
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
- uses : cachix/install-nix-action@v30
21
- - uses : DeterminateSystems/magic-nix-cache-action@v9
22
- - run : nix run github:Mic92/nix-fast-build -- --no-nom
21
+ - uses : cachix/cachix-action@v15
22
+ with :
23
+ name : nixos-infra-dev
24
+ authToken : " ${{ secrets.CACHIX_AUTH_TOKEN }}"
25
+ - run : nix run --inputs-from . nixpkgs#nix-fast-build -- --skip-cached --no-nom
23
26
# all builds combined consume too much disk space... we should soon switch to something else
24
- nixos :
27
+ nixos-x86_64 :
25
28
runs-on : ubuntu-latest
26
29
strategy :
27
30
matrix :
28
- # we actually cannot build umbriel just now
29
- # but it also looks like it doesn't run important stuff
30
- # machine: [caliban, umbriel]
31
31
machine : [caliban]
32
32
steps :
33
33
- uses : actions/checkout@v4
34
34
- uses : cachix/install-nix-action@v30
35
- - uses : DeterminateSystems/magic-nix-cache-action@v9
36
- - run : nix build '.#nixosConfigurations."${{ matrix.machine }}.nixos.org".config.system.build.toplevel'
35
+ - uses : cachix/cachix-action@v15
36
+ with :
37
+ name : nixos-infra-dev
38
+ authToken : " ${{ secrets.CACHIX_AUTH_TOKEN }}"
39
+ - run : nix run --inputs-from . nixpkgs#nix-fast-build -- --skip-cached --no-nom --flake '.#nixosConfigurations."${{ matrix.machine }}.nixos.org".config.system.build.toplevel'
40
+ nixos-aarch64 :
41
+ runs-on : ubuntu-22.04-arm
42
+ strategy :
43
+ matrix :
44
+ machine : [umbriel]
45
+ steps :
46
+ - uses : actions/checkout@v4
47
+ - uses : cachix/install-nix-action@v30
48
+ - uses : cachix/cachix-action@v15
49
+ with :
50
+ name : nixos-infra-dev
51
+ authToken : " ${{ secrets.CACHIX_AUTH_TOKEN }}"
52
+ - run : nix run --inputs-from . nixpkgs#nix-fast-build -- --skip-cached --no-nom --flake '.#nixosConfigurations."${{ matrix.machine }}.nixos.org".config.system.build.toplevel'
37
53
nix-darwin :
38
54
runs-on : macos-latest
39
55
strategy :
42
58
steps :
43
59
- uses : actions/checkout@v4
44
60
- uses : cachix/install-nix-action@v30
45
- - uses : DeterminateSystems/magic-nix-cache-action@v9
46
- - run : nix build '.#darwinConfigurations."${{ matrix.machine }}".config.system.build.toplevel'
61
+ - uses : cachix/cachix-action@v15
62
+ with :
63
+ name : nixos-infra-dev
64
+ authToken : " ${{ secrets.CACHIX_AUTH_TOKEN }}"
65
+ - run : nix run --inputs-from . nixpkgs#nix-fast-build -- --skip-cached --no-nom --flake '.#darwinConfigurations."${{ matrix.machine }}".config.system.build.toplevel'
0 commit comments