File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments