File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -281,6 +281,28 @@ jobs:
281281 name : ios-arm64
282282 path : native/target/aarch64-apple-ios/${{ env._RUST_BUILD_CONFIG }}/libyaha_native.a
283283 retention-days : 1
284+
285+ build-ios-arm64-sim :
286+ name : Build Native library (ios-arm64-sim)
287+ if : ${{ !inputs.build-only-linux }}
288+ permissions :
289+ contents : read
290+ runs-on : macos-15
291+ timeout-minutes : 30
292+ defaults :
293+ run :
294+ working-directory : native
295+ steps :
296+ - uses : Cysharp/Actions/.github/actions/checkout@main
297+ - run : rustup target add aarch64-apple-ios-sim
298+ - run : cargo build --target aarch64-apple-ios-sim --profile ${{ env._RUST_BUILD_CONFIG == 'debug' && 'dev' || env._RUST_BUILD_CONFIG }}
299+ env :
300+ IPHONEOS_DEPLOYMENT_TARGET : 12.0
301+ - uses : Cysharp/Actions/.github/actions/upload-artifact@main
302+ with :
303+ name : ios-arm64-sim
304+ path : native/target/aarch64-apple-ios-sim/${{ env._RUST_BUILD_CONFIG }}/libyaha_native.a
305+ retention-days : 1
284306
285307 build-android-arm :
286308 name : Build Native library (android-arm)
You can’t perform that action at this time.
0 commit comments