diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 065fa3ef..74153e4a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -87,12 +87,22 @@ 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_arch: x86_64 + - os: macos-14 + target_arch: aarch64 steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable with: - targets: x86_64-apple-ios + targets: ${{ matrix.target_arch }}-apple-ios-sim - name: Install precompiled cargo-dinghy run: | VERSION=0.6.2 @@ -113,7 +123,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 auto-ios-${{ matrix.target_arch }}-sim -d ${{ env.device }} test windows-tests: name: Windows Test