Skip to content

Commit

Permalink
Set the NDK clang version
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeross committed Jan 5, 2024
1 parent daa462a commit 322bdc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-bindings-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ jobs:
with:
workspaces: libs

- name: Setup NDK version
- name: Set NDK environment variables
run: |
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#environment-variables-2
export CLANG_VERSION=`ls ${ANDROID_NDK_LATEST_HOME}/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang | sed 's/ *$//g'`
echo "ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV
echo "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV
echo "NDK_CLANG_VERSION=$CLANG_VERSION" >> $GITHUB_ENV
- name: Build sdk-bindings
working-directory: libs/sdk-bindings
Expand Down

0 comments on commit 322bdc4

Please sign in to comment.