Skip to content

Commit cc3bddb

Browse files
authored
ci: Combine subflakes, and ignore arm linux/ intel mac (#442)
1 parent d7c4041 commit cc3bddb

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,19 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
12-
configure:
13-
runs-on: x86_64-linux
14-
outputs:
15-
matrix: ${{ steps.set-matrix.outputs.matrix }}
16-
steps:
17-
- uses: actions/checkout@v4
18-
- id: set-matrix
19-
run: echo "matrix=$(om ci gh-matrix --systems=x86_64-linux,x86_64-darwin,aarch64-darwin | jq -c .)" >> $GITHUB_OUTPUT
20-
2111
nix:
2212
runs-on: ${{ matrix.system }}
2313
permissions:
2414
contents: read
25-
needs: configure
2615
strategy:
27-
matrix: ${{ fromJson(needs.configure.outputs.matrix) }}
16+
matrix:
17+
include:
18+
- system: x86_64-linux
19+
- system: aarch64-darwin
2820
fail-fast: false
2921
steps:
3022
- uses: actions/checkout@v4
3123
- run: |
3224
om ci run \
3325
--extra-access-tokens "github.com=${{ secrets.GITHUB_TOKEN }}" \
34-
--systems "${{ matrix.system }}" \
35-
.#default.${{ matrix.subflake}}
26+
--systems "${{ matrix.system }}"

0 commit comments

Comments
 (0)