feat(cli): export android toolchains to PATH before build
This commit is contained in:
parent
c312fd36d1
commit
dca5ada995
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ jobs:
|
|||
target: 'aarch64-linux-android'
|
||||
build: |
|
||||
export CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER="\${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang"
|
||||
export PATH="\${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin:\${PATH}"
|
||||
yarn build --target aarch64-linux-android
|
||||
\${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip *.node
|
||||
- host: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue