Commit 0ca793a 1 parent 63fc608 commit 0ca793a Copy full SHA for 0ca793a
File tree 1 file changed +25
-14
lines changed
1 file changed +25
-14
lines changed Original file line number Diff line number Diff line change @@ -111,22 +111,33 @@ jobs:
111
111
nix-master :
112
112
strategy :
113
113
matrix :
114
- os : [ubuntu-latest, macos-13]
114
+ include :
115
+ - os : ubuntu-latest
116
+ system : x86_64-linux
117
+ - os : macos-13
118
+ system : x86_64-darwin
119
+ - os : macos-latest
120
+ system : aarch64-darwin
115
121
runs-on : ${{ matrix.os }}
116
122
steps :
117
- - uses : actions/checkout@v4
123
+ - uses : actions/checkout@v4
118
124
119
- - uses : cachix/install-nix-action@v30
120
- with :
121
- install_url : https://hydra.nixos.org/job/nix/master/installerScript/latest-finished/ download/1/install
122
- install_options : ' --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/ serve'
125
+ - name : Run NAR server
126
+ run : |
127
+ curl --location https://github.com/sandydoo/nar-toolbox/releases/ download/v0.1.0/nar-toolbox-${{ matrix.system }} -O
128
+ ./nar-toolbox-${{ matrix.system }} serve &
123
129
124
- - run : yarn install --frozen-lockfile
125
- - run : yarn build
130
+ - uses : cachix/install-nix-action@v30
131
+ with :
132
+ install_url : https://hydra.nixos.org/job/nix/master/installerScript/latest-finished/download/1/install
133
+ install_options : " --tarball-url-prefix https://localhost:8080"
134
+
135
+ - run : yarn install --frozen-lockfile
136
+ - run : yarn build
126
137
127
- - name : Test public cache
128
- uses : ./
129
- with :
130
- name : cachix-action
131
- signingKey : ' ${{ secrets.CACHIX_SIGNING_KEY }}'
132
- - run : nix-build test.nix
138
+ - name : Test public cache
139
+ uses : ./
140
+ with :
141
+ name : cachix-action
142
+ signingKey : " ${{ secrets.CACHIX_SIGNING_KEY }}"
143
+ - run : nix-build test.nix
You can’t perform that action at this time.
0 commit comments