From a74bdff90269a7e9e361353531a1a8fa5db46e87 Mon Sep 17 00:00:00 2001 From: Thomas Buckley-Houston Date: Mon, 29 Dec 2025 21:49:38 -0300 Subject: [PATCH] ci: build and test on ARM --- .github/workflows/ci.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3806a77..24ddbdc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,14 +1,10 @@ name: Rust -# Note: when forking on GitHub, workflows are disabled-by-default; the jobs -# won't run when pushing to the fork and there won't be a button to run -# anything manually. Owners of the fork can, through the website, re-enable -# these workflows to run as specified here. on: push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + branches: + - main + pull_request: {} # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -24,9 +20,11 @@ env: jobs: build-test: - strategy: - fail-fast: false name: Build and Test 🔬 + strategy: + matrix: + arch: [x86_64, aarch64] + runner: [ubuntu-latest] runs-on: ubuntu-latest steps: @@ -43,8 +41,6 @@ jobs: run: cargo test check-spirv-kernel: - strategy: - fail-fast: false name: Check SPIRV kernel is compiled runs-on: ubuntu-latest @@ -95,6 +91,8 @@ jobs: lints: name: "Lints 💅" runs-on: ubuntu-latest + strategy: + fail-fast: false steps: - uses: actions/checkout@v4 @@ -116,3 +114,4 @@ jobs: run: cargo fmt --check - name: Check for unused dependencies run: cargo shear +