File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 11name : " CI"
2+
23on :
34 push :
45 branches :
56 - master
67 pull_request :
8+
79jobs :
10+
811 configure :
9- runs-on : self-hosted
12+ runs-on : x86_64-linux
1013 outputs :
1114 matrix : ${{ steps.set-matrix.outputs.matrix }}
1215 steps :
1316 - uses : actions/checkout@v4
1417 - id : set-matrix
15- run : echo "matrix=$(nixci gh-matrix --systems=aarch64-linux,aarch64-darwin | jq -c .)" >> $GITHUB_OUTPUT
18+ run : echo "matrix=$(nixci gh-matrix --systems=x86_64-linux,x86_64-darwin,aarch64-darwin | jq -c .)" >> $GITHUB_OUTPUT
19+
1620 nix :
17- runs-on : self-hosted
21+ runs-on : ${{ matrix.system }}
22+ permissions :
23+ contents : read
1824 needs : configure
1925 strategy :
2026 matrix : ${{ fromJson(needs.configure.outputs.matrix) }}
2127 fail-fast : false
2228 steps :
2329 - uses : actions/checkout@v4
24- - run : nixci build --systems "github:nix-systems/${{ matrix.system }}" .#default.${{ matrix.subflake}}
30+ - run : |
31+ nixci \
32+ --extra-access-tokens "github.com=${{ secrets.GITHUB_TOKEN }}" \
33+ build \
34+ --systems "github:nix-systems/${{ matrix.system }}" \
35+ .#default.${{ matrix.subflake}}
You can’t perform that action at this time.
0 commit comments