Skip to content

Commit 569e286

Browse files
authored
chore(ci): Add x86_64-* (#329)
1 parent f533f14 commit 569e286

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,35 @@
11
name: "CI"
2+
23
on:
34
push:
45
branches:
56
- master
67
pull_request:
8+
79
jobs:
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}}

0 commit comments

Comments
 (0)