diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2e91d4e..57079c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,6 +58,13 @@ jobs: # Optional - x64 or x86 architecture, defaults to x64 architecture: 'x64' + - name: Android dependencies + if: ${{ matrix.platform == 'android' }} + uses: nttld/setup-ndk@v1 + with: + ndk-version: r23c + link-to-sdk: true + # Setup scons, print python version and scons version info, so if anything is broken it won't run the build. - name: Configuring Python packages run: | diff --git a/.github/workflows/build_var.json b/.github/workflows/build_var.json index e764dda..6e18faa 100644 --- a/.github/workflows/build_var.json +++ b/.github/workflows/build_var.json @@ -32,7 +32,7 @@ "os": "ubuntu-20.04", "platform": "android", "artifact-extension": "so", - "flags": "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME arch=x86_64", + "flags": "arch=x86_64", "cache-name": "android-x86_64" }, { @@ -40,7 +40,7 @@ "os": "ubuntu-20.04", "platform": "android", "artifact-extension": "so", - "flags": "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME arch=arm64", + "flags": "arch=arm64", "cache-name": "android-arm64" }, {