Skip to content

Commit 30edfa9

Browse files
committed
CI: Test aarch64-apple-ios in simulator.
1 parent e512aef commit 30edfa9

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,24 @@ jobs:
8787

8888
ios-tests:
8989
name: iOS Simulator Test
90-
runs-on: macos-12
90+
runs-on: ${{ matrix.os }}
91+
strategy:
92+
matrix:
93+
os: [macos-12, macos-14]
94+
# Only test on stable to reduce macOS CI jobs
95+
toolchain: [stable]
96+
include:
97+
- os: macos-12
98+
target: x86_64-apple-ios
99+
ios_platform: auto-ios-x86_64
100+
- os: macos-14
101+
target: aarch64-apple-ios-sim
102+
ios_platform: auto-ios-aarch64-sim
91103
steps:
92104
- uses: actions/checkout@v3
93105
- uses: dtolnay/rust-toolchain@stable
94106
with:
95-
targets: x86_64-apple-ios
107+
targets: ${{ matrix.target }}
96108
- name: Install precompiled cargo-dinghy
97109
run: |
98110
VERSION=0.6.2
@@ -113,7 +125,7 @@ jobs:
113125
echo "device=$SIM_ID" >> $GITHUB_ENV
114126
- uses: Swatinem/rust-cache@v2
115127
- name: Run tests
116-
run: cargo dinghy -d ${{ env.device }} test
128+
run: cargo dinghy -p ${{ matrix.ios_platform }} -d ${{ env.device }} test
117129

118130
windows-tests:
119131
name: Windows Test

0 commit comments

Comments
 (0)