File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
src/YetAnotherHttpHandler Expand file tree Collapse file tree 2 files changed +24
-1
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)
Original file line number Diff line number Diff line change 4848 <YahaNativeArtifactTarget Include =" osx-universal" RustTarget =" " Prefix =" " Ext =" .bundle" />
4949 <YahaNativeArtifactTarget Include =" ios-x64" RustTarget =" x86_64-apple-ios" Prefix =" lib" Ext =" .a" />
5050 <YahaNativeArtifactTarget Include =" ios-arm64" RustTarget =" aarch64-apple-ios" Prefix =" lib" Ext =" .a" />
51+ <YahaNativeArtifactTarget Include =" ios-arm64-sim" RustTarget =" aarch64-apple-ios-sim" Prefix =" lib" Ext =" .a" />
5152 <YahaNativeArtifactTarget Include =" android-arm" RustTarget =" armv7-linux-androideabi" Prefix =" lib" Ext =" .so" />
5253 <YahaNativeArtifactTarget Include =" android-arm64" RustTarget =" aarch64-linux-android" Prefix =" lib" Ext =" .so" />
5354 <YahaNativeArtifactTarget Include =" android-x64" RustTarget =" x86_64-linux-android" Prefix =" lib" Ext =" .so" />
8788 </ItemGroup >
8889 </Target >
8990
90- </Project >
91+ </Project >
You can’t perform that action at this time.
0 commit comments