Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Nov 28, 2024
1 parent d6540d2 commit 23bea75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ jobs:
target: aarch64-unknown-linux-gnu
- os: ubuntu-20.04
target: aarch64-linux-android
ndk_arch: aarch64-unknown-linux-musl
- os: ubuntu-20.04
target: armv7-linux-androideabi
ndk_arch: arm-unknown-linux-musleabihf
- os: ubuntu-20.04
target: x86_64-linux-android
ndk_arch: x86_64-unknown-linux-musl

name: Build (${{ matrix.target }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -85,5 +88,6 @@ jobs:
- name: Build (Android)
if: ${{ contains(matrix.target, 'android') }}
run: |
ln -sf $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/lib/${{ matrix.ndk_arch }}/{libunwind.so, libc++*} $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/lib/
cargo install cargo-ndk
cargo ndk --target ${{ matrix.target }} build --release -p livekit --workspace -vv
2 changes: 1 addition & 1 deletion .github/workflows/ffi-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
if: ${{ matrix.platform == 'android' }}
run: |
cd livekit-ffi/
ln -sf $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/lib/${{ matrix.ndk_arch }}/libunwind.so $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/lib/
ln -sf $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/lib/${{ matrix.ndk_arch }}/{libunwind.so, libc++*} $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/lib/
cargo install cargo-ndk
cargo ndk --bindgen --target ${{ matrix.target }} build --release ${{ matrix.buildargs }}
Expand Down

0 comments on commit 23bea75

Please sign in to comment.