Do not source path.sh when building the JNI bridge
path.sh reads $cores before setting it, which aborts under set -u; the step only needs depinfo.sh for the NDK version, and ndk-build is told the job count directly.
This commit is contained in:
1 parent
5ddbd6154b
commit
f371dc0224
1 file changed
+1
-2
@@ -134,9 +134,8 @@ jobs:
|
||||
- name: Build the JNI bridge (libplayer.so)
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
set -eo pipefail
|
||||
cd "$GITHUB_WORKSPACE/android"
|
||||
source buildscripts/include/path.sh
|
||||
source buildscripts/include/depinfo.sh
|
||||
ndk="$GITHUB_WORKSPACE/android/buildscripts/sdk/android-ndk-${v_ndk}"
|
||||
export ANDROID_NDK_ROOT="$ndk"
|
||||
|
||||
Reference in new issue
Block a user