Skip to content

Commit 5d4a756

Browse files
committed
ci: also build on aarch64-linux
1 parent 560b71a commit 5d4a756

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,21 @@ on:
77
- master
88
jobs:
99
tests:
10-
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
include:
13+
- system: x86_64-linux
14+
runner: ubuntu-latest
15+
- system: aarch64-linux
16+
runner: ubuntu-24.04-arm
17+
runs-on: ${{ matrix.runner }}
1118
steps:
1219
- uses: actions/checkout@v3
1320
with:
1421
fetch-depth: 0
1522
- uses: cachix/install-nix-action@v31
23+
with:
24+
extra_nix_config: |
25+
extra-systems = ${{ matrix.platform }}
1626
- uses: DeterminateSystems/magic-nix-cache-action@main
17-
#- run: nix flake check
18-
- run: nix-build -A checks.x86_64-linux.build -A checks.x86_64-linux.validate-openapi
27+
- run: nix-build -A checks.${{ matrix.system }}.build -A checks.${{ matrix.platform }}.validate-openapi

0 commit comments

Comments
 (0)