Skip to content

Commit

Permalink
Merge branch 'master' into javascript-allow-class-methods-get-and-set
Browse files Browse the repository at this point in the history
  • Loading branch information
jafl committed Apr 7, 2022
2 parents 1be2bb8 + c4e3847 commit 0b5c16a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/cross-compile-android-ndk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:

- name: Run ./configure ...
run: |
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#environment-variables-3
[ -n "$ANDROID_NDK_LATEST_HOME" ] && {
export ANDROID_NDK_HOME="$ANDROID_NDK_LATEST_HOME"
export ANDROID_NDK_ROOT="$ANDROID_NDK_LATEST_HOME"
}
BUILD_MACHINE_OS_TYPE=$(uname | tr A-Z a-z)
BUILD_MACHINE_OS_ARCH=$(uname -m)
Expand All @@ -32,8 +38,8 @@ jobs:
SYSROOT=$TOOLCHAIN_BASE_DIR/sysroot
export CC=$TOOLCHAIN_BIN_DIR/armv7a-linux-androideabi21-clang
export AR=$TOOLCHAIN_BIN_DIR/arm-linux-androideabi-ar
export RANLIB=$TOOLCHAIN_BIN_DIR/arm-linux-androideabi-ranlib
export AR=$TOOLCHAIN_BIN_DIR/llvm-ar
export RANLIB=$TOOLCHAIN_BIN_DIR/llvm-ranlib
export CFLAGS="--sysroot $SYSROOT -Qunused-arguments -Os -fpic"
export CPPFLAGS="--sysroot $SYSROOT -Qunused-arguments"
Expand Down Expand Up @@ -70,4 +76,4 @@ jobs:
- run: make V=1

- run: file ctags | grep 'ELF 32-bit LSB shared object, ARM, EABI5'
- run: file ctags | grep 'ELF 32-bit LSB pie executable, ARM, EABI5'

0 comments on commit 0b5c16a

Please sign in to comment.