Skip to content

Commit

Permalink
diff
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherry committed Nov 20, 2024
1 parent 127a153 commit 72bd480
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ffi-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ jobs:
# on android use cargo ndk
- name: Build (Android)
if: ${{ matrix.platform == 'android' }}
env:
ANDROID_NDK: ${{ env.ANDROID_HOME }}/ndk/26.3.11579264
ANDROID_NDK_HOME: ${{ env.ANDROID_HOME }}/ndk/26.3.11579264
ANDROID_NDK_ROOT: ${{ env.ANDROID_HOME }}/ndk/26.3.11579264
run: |
export ANDROID_NDK=$(ls -d /usr/local/lib/android/sdk/ndk/* | grep '26' | sort -V | tail -n 1)
echo "ANDROID_NDK=$ANDROID_NDK" >> $GITHUB_ENV
echo "ANDROID_NDK_HOME=$ANDROID_NDK" >> $GITHUB_ENV
echo "ANDROID_NDK_ROOT=$ANDROID_NDK" >> $GITHUB_ENV
cd livekit-ffi/
cargo install cargo-ndk
cargo ndk --bindgen --target ${{ matrix.target }} build --release ${{ matrix.buildargs }}
Expand Down

0 comments on commit 72bd480

Please sign in to comment.