Skip to content

Commit

Permalink
CI: Test aarch64-apple-ios in simulator.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Feb 20, 2024
1 parent e512aef commit 30edfa9
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,24 @@ jobs:

ios-tests:
name: iOS Simulator Test
runs-on: macos-12
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12, macos-14]
# Only test on stable to reduce macOS CI jobs
toolchain: [stable]
include:
- os: macos-12
target: x86_64-apple-ios
ios_platform: auto-ios-x86_64
- os: macos-14
target: aarch64-apple-ios-sim
ios_platform: auto-ios-aarch64-sim
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-apple-ios
targets: ${{ matrix.target }}
- name: Install precompiled cargo-dinghy
run: |
VERSION=0.6.2
Expand All @@ -113,7 +125,7 @@ jobs:
echo "device=$SIM_ID" >> $GITHUB_ENV
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo dinghy -d ${{ env.device }} test
run: cargo dinghy -p ${{ matrix.ios_platform }} -d ${{ env.device }} test

windows-tests:
name: Windows Test
Expand Down

0 comments on commit 30edfa9

Please sign in to comment.