Skip to content

Commit d45c957

Browse files
committed
ci(checks): run rust and python checks on both amd64 and arm64 runners
1 parent a3cc534 commit d45c957

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

‎.github/workflows/checks.yml‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@ permissions:
1717

1818
jobs:
1919
rust:
20-
name: Rust
21-
runs-on: build-amd64
20+
name: Rust (${{ matrix.runner }})
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
runner: [build-amd64, build-arm64]
25+
runs-on: ${{ matrix.runner }}
2226
container:
2327
image: ghcr.io/nvidia/nv-agent-env/ci:latest
2428
credentials:
@@ -32,7 +36,7 @@ jobs:
3236
with:
3337
# Separate caches for clippy (check-like) vs test (full build)
3438
# so they don't thrash each other's artifacts
35-
shared-key: rust-checks
39+
shared-key: rust-checks-${{ matrix.runner }}
3640
# Cache the sccache directory too
3741
cache-directories: .cache/sccache
3842

@@ -50,8 +54,12 @@ jobs:
5054
run: sccache --show-stats
5155

5256
python:
53-
name: Python
54-
runs-on: build-amd64
57+
name: Python (${{ matrix.runner }})
58+
strategy:
59+
fail-fast: false
60+
matrix:
61+
runner: [build-amd64, build-arm64]
62+
runs-on: ${{ matrix.runner }}
5563
container:
5664
image: ghcr.io/nvidia/nv-agent-env/ci:latest
5765
credentials:

0 commit comments

Comments
 (0)