File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 7
7
branches :
8
8
- master
9
9
jobs :
10
- nix :
10
+ nix-develop-shell :
11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
36
36
- name : " Check `nix develop` shell can run command"
37
37
run : nix develop --command "echo"
38
38
39
+ nix-build :
40
+ strategy :
41
+ fail-fast : false
42
+ matrix :
43
+ os :
44
+ - ubuntu-latest
45
+ - ubuntu-24.04-arm
46
+ - macos-latest
47
+ name : Nix on ${{ matrix.os }}
48
+ runs-on : ${{ matrix.os }}
49
+ steps :
50
+ - uses : actions/checkout@v4
51
+ - uses : cachix/install-nix-action@v31
52
+ with :
53
+ extra_nix_config : |
54
+ trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hackage-server.cachix.org-1:iw0iRh6+gsFIrxROFaAt5gKNgIHejKjIfyRdbpPYevY=
55
+ substituters = https://cache.nixos.org/ https://hackage-server.cachix.org/
56
+ - uses : cachix/cachix-action@v16
57
+ with :
58
+ # https://nix.dev/tutorials/continuous-integration-github-actions#setting-up-github-actions
59
+ name : hackage-server
60
+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
61
+
39
62
- run : nix build
40
63
41
64
- continue-on-error : false
You can’t perform that action at this time.
0 commit comments