File tree 1 file changed +15
-3
lines changed
1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -87,12 +87,24 @@ jobs:
87
87
88
88
ios-tests :
89
89
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
91
103
steps :
92
104
- uses : actions/checkout@v3
93
105
- uses : dtolnay/rust-toolchain@stable
94
106
with :
95
- targets : x86_64-apple-ios
107
+ targets : ${{ matrix.target }}
96
108
- name : Install precompiled cargo-dinghy
97
109
run : |
98
110
VERSION=0.6.2
@@ -113,7 +125,7 @@ jobs:
113
125
echo "device=$SIM_ID" >> $GITHUB_ENV
114
126
- uses : Swatinem/rust-cache@v2
115
127
- name : Run tests
116
- run : cargo dinghy -d ${{ env.device }} test
128
+ run : cargo dinghy -p ${{ matrix.ios_platform }} - d ${{ env.device }} test
117
129
118
130
windows-tests :
119
131
name : Windows Test
You can’t perform that action at this time.
0 commit comments