Skip to content

Commit 1c81339

Browse files
Exclude aarch64-pc-windows-msvc from CI
Remove the aarch64-pc-windows-msvc target from the coverage matrix and skip running tests/artifact upload for that target in the Rust CI. Changes: .github/workflows/ci-coverage.yml removes the matrix entry; .github/workflows/ci-rust.yml adds matrix.target != 'aarch64-pc-windows-msvc' guards for the Test step and artifact upload, and updates the tarpaulin args case to only apply --jobs 1 to aarch64-unknown-linux-gnu. This prevents running coverage/test steps for the Windows aarch64 target which the tooling does not handle in CI.
1 parent ecdaee8 commit 1c81339

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci-coverage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- x86_64-apple-darwin
2222
- aarch64-apple-darwin
2323
- x86_64-pc-windows-msvc
24-
- aarch64-pc-windows-msvc
2524
name: Coverage (${{ matrix.target }})
2625
permissions:
2726
contents: read

.github/workflows/ci-rust.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,13 @@ jobs:
170170
171171
- name: Test
172172
id: test
173-
if: env.INPUT_RUN_TESTS == 'true'
173+
if: >-
174+
env.INPUT_RUN_TESTS == 'true' &&
175+
matrix.target != 'aarch64-pc-windows-msvc'
174176
run: |
175177
tarpaulin_args=()
176178
case "${{ matrix.target }}" in
177-
aarch64-unknown-linux-gnu|aarch64-pc-windows-msvc)
179+
aarch64-unknown-linux-gnu)
178180
tarpaulin_args+=(--jobs 1)
179181
;;
180182
esac
@@ -194,6 +196,7 @@ jobs:
194196
if: >-
195197
always() &&
196198
env.INPUT_RUN_TESTS == 'true' &&
199+
matrix.target != 'aarch64-pc-windows-msvc' &&
197200
(steps.test.outcome == 'success' || steps.test.outcome == 'failure')
198201
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
199202
with:

0 commit comments

Comments
 (0)