Skip to content

Commit 3b81fbc

Browse files
wip: test on macos x86
1 parent 3fb1353 commit 3b81fbc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,20 @@ jobs:
2222
display-os: Linux
2323
- os: macos-14
2424
display-os: macOS
25+
arch: arm64
26+
target: aarch64-apple-darwin
27+
- os: macos-14
28+
display-os: macOS
29+
arch: x86_64
30+
target: x86_64-apple-darwin
2531
- os: windows-2022
2632
display-os: Windows
2733
- feature-args: ''
2834
feature-suffix: ''
2935
- feature-args: '-Funstable-mobile-app'
3036
feature-suffix: ' (-Funstable-mobile-app)'
3137

32-
name: ${{ matrix.display-os }}${{ matrix.feature-suffix }}
38+
name: ${{ matrix.display-os }} ${{ matrix.arch || '' }}${{ matrix.feature-suffix }}
3339
runs-on: ${{ matrix.os }}
3440

3541
steps:
@@ -40,4 +46,4 @@ jobs:
4046
uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
4147

4248
- name: Run Cargo Tests
43-
run: cargo test --all ${{ matrix.feature-args }}
49+
run: cargo test --all ${{ matrix.feature-args }} ${{ matrix.target && format('--target {0}', matrix.target) || '' }}

0 commit comments

Comments
 (0)