File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -162,20 +162,17 @@ jobs:
162162 matrix :
163163 include :
164164 - target : aarch64-apple-ios
165- sdk : iphoneos
166165 - target : x86_64-apple-ios
167- sdk : iphonesimulator
166+ - target : aarch64-apple-ios-macabi
168167 steps :
169168 - uses : actions/checkout@v4
170169 with :
171170 submodules : true
172171 - 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
179176
180177 docker :
181178 name : Docker
You can’t perform that action at this time.
0 commit comments