Skip to content

Commit

Permalink
🚀 version
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Apr 28, 2024
1 parent cb082b8 commit 87d9888
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ jobs:
architecture: x64

- name: Install cargo tools (non-android)
if: steps.check_asset.outputs.skip_build != 'true' && ( matrix.config.target == 'macos' || matrix.config.target == 'windows' || matrix.config.target == 'linux' )
if: steps.check_asset.outputs.skip_build != 'true' && ( matrix.config.target == 'macos' || matrix.config.target == 'windows' || matrix.config.target == 'linux' || matrix.config.target == 'ios' )
run: |
cargo install cbindgen
cargo install --force cbindgen
- name: Install cargo tools (Android)
if: steps.check_asset.outputs.skip_build != 'true' && ( matrix.config.target == 'android-arm32' || matrix.config.target == 'android-arm64' || matrix.config.target == 'android-x86_64' )
run: |
cargo install cargo-ndk
cargo install --force cargo-ndk
- name: Setup java (Android)
if: steps.check_asset.outputs.skip_build != 'true' && ( matrix.config.target == 'android-arm32' || matrix.config.target == 'android-arm64' || matrix.config.target == 'android-x86_64' )
Expand Down Expand Up @@ -213,7 +213,6 @@ jobs:
- name: Install rust target and build (ios)
if: steps.check_asset.outputs.skip_build != 'true' && ( matrix.config.target == 'ios')
run: |
cargo install cbindgen
rustup target install aarch64-apple-ios
cargo build --manifest-path native/jmbackend/platforms/ios/Cargo.toml --features= --lib --release --target=aarch64-apple-ios
cp native/jmbackend/platforms/ios/target/aarch64-apple-ios/release/librust.a ios/
Expand Down Expand Up @@ -301,7 +300,6 @@ jobs:
- name: Build (macos)
if: steps.check_asset.outputs.skip_build != 'true' && matrix.config.target == 'macos'
run: |
cargo install cbindgen
rustup target install x86_64-apple-darwin
rustup target install aarch64-apple-darwin
cargo build --manifest-path native/jmbackend/platforms/macos/Cargo.toml --release --target x86_64-apple-darwin
Expand Down

0 comments on commit 87d9888

Please sign in to comment.