Skip to content

Commit ac60bb3

Browse files
joseph-isaacsclaude
andcommitted
feat: Add Windows and Linux ARM64 CI testing
- Add rust-test-other matrix job with Windows x64 and Linux ARM64 runners - Use runs-on service for both platforms (m7i for Windows, m7g for ARM) - Fix Mold linker installation to be Linux-only (prevents PowerShell error on Windows) - Enable S3 cache for Linux ARM64 runner 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Joe Isaacs <[email protected]>
1 parent 641a1ee commit ac60bb3

File tree

2 files changed

+27
-8
lines changed

2 files changed

+27
-8
lines changed

.github/actions/setup-rust/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ runs:
2525
run: echo "version=$(cat rust-toolchain.toml | grep channel | awk -F'\"' '{print $2}')" >> $GITHUB_OUTPUT
2626

2727
- name: Install Mold
28+
if: runner.os == 'Linux'
2829
uses: rui314/setup-mold@v1
2930

3031
- name: Rust Toolchain

.github/workflows/ci.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -400,16 +400,34 @@ jobs:
400400
--target x86_64-unknown-linux-gnu \
401401
--verbose
402402
403-
rust-test-windows:
404-
name: "Rust tests (Windows)"
403+
rust-test-other:
404+
name: "Rust tests (${{ matrix.os }})"
405405
timeout-minutes: 120
406-
runs-on:
407-
- runs-on=${{ github.run_id }}
408-
- family=m7i
409-
- cpu=8
410-
- image=windows22-full-x64
411-
- tag=rust-test-windows
406+
strategy:
407+
fail-fast: false
408+
matrix:
409+
include:
410+
- os: windows-x64
411+
runner:
412+
- runs-on=${{ github.run_id }}
413+
- family=m7i
414+
- cpu=8
415+
- image=windows22-full-x64
416+
- tag=rust-test-windows
417+
- os: linux-arm64
418+
runner:
419+
- runs-on=${{ github.run_id }}
420+
- family=m7g
421+
- cpu=8
422+
- image=ubuntu24-full-arm64
423+
- extras=s3-cache
424+
- tag=rust-test-linux-arm64
425+
runs-on: ${{ matrix.runner }}
412426
steps:
427+
- uses: runs-on/action@v2
428+
if: matrix.os == 'linux-arm64'
429+
with:
430+
sccache: s3
413431
- uses: actions/checkout@v5
414432
- uses: ./.github/actions/setup-rust
415433
with:

0 commit comments

Comments
 (0)