Skip to content

Commit

Permalink
fix: unbreak iOS CI build and enable x86 Android targets
Browse files Browse the repository at this point in the history
Co-authored-by: Johannes Marbach <[email protected]>
  • Loading branch information
olliiiver and Johennes authored Dec 19, 2024
1 parent 68715c9 commit af45eb3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-linux-android,armv7-linux-androideabi
targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android

- name: Install cargo-ndk
run: cargo install cargo-ndk
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
- name: Generate
run: |
# Disabling NEON fixes linker error, see
# https://github.com/unomed-dev/react-native-matrix-sdk/issues/12
export CARGO_FEATURE_NO_NEON=1
yarn ubrn:clean
yarn ubrn:checkout
yarn ubrn:ios
Expand Down
2 changes: 2 additions & 0 deletions ubrn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ android:
targets:
- arm64-v8a
- armeabi-v7a
- x86
- x86_64
ios:
cargoExtras: []
directory: ios
Expand Down

0 comments on commit af45eb3

Please sign in to comment.