File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -162,20 +162,17 @@ jobs:
162
162
matrix :
163
163
include :
164
164
- target : aarch64-apple-ios
165
- sdk : iphoneos
166
165
- target : x86_64-apple-ios
167
- sdk : iphonesimulator
166
+ - target : aarch64-apple-ios-macabi
168
167
steps :
169
168
- uses : actions/checkout@v4
170
169
with :
171
170
submodules : true
172
171
- run : rustup target add ${{ matrix.target }}
173
- - run : |
174
- export RUSTFLAGS=-Dwarnings
175
- export SDK_PATH=`xcrun --show-sdk-path --sdk ${{ matrix.sdk }}`
176
- export RUSTFLAGS="-C link-arg=-isysroot -C link-arg=$SDK_PATH"
177
- cargo test --no-run --target ${{ matrix.target }}
178
- name: Build tests
172
+ - name : Run tests
173
+ run : cargo test ${{ contains(matrix.target, 'macabi') && '' || '--no-run' }} --target ${{ matrix.target }}
174
+ env :
175
+ RUSTFLAGS : -Dwarnings
179
176
180
177
docker :
181
178
name : Docker
You can’t perform that action at this time.
0 commit comments