Add ANDROID_NDK_HOME env variable and enable openssl

Add ANDROID_NDK_HOME env variable and enable openssl

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2021-08-27 13:13:48 +02:00
parent 6385842e94
commit 8bc72c75d3
5 changed files with 8 additions and 4 deletions

View File

@ -54,7 +54,7 @@ jobs:
stockfish_arg: "ARCH=armv7 COMP=ndk",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl: "yes",
openssl_arg: "android-arm",
}
- {
@ -63,7 +63,7 @@ jobs:
stockfish_arg: "ARCH=armv8 COMP=ndk",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl: "yes",
openssl_arg: "android-arm64",
}
- {
@ -72,7 +72,7 @@ jobs:
stockfish_arg: "ARCH=x86-32 COMP=ndk",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl: "yes",
openssl_arg: "android-x86",
}
- {
@ -81,7 +81,7 @@ jobs:
stockfish_arg: "ARCH=x86-64 COMP=ndk",
ninja: "no",
ninja_arg: "",
openssl: "no",
openssl: "yes",
openssl_arg: "android-x86_64",
}
# Linux arm64/armv8 images

View File

@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
ENV CROSS_TRIPLE=arm-linux-androideabi
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \

View File

@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \
ENV CROSS_TRIPLE=aarch64-linux-android
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \

View File

@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y unzip
ENV CROSS_TRIPLE=i686-linux-android
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \

View File

@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y unzip
ENV CROSS_TRIPLE=x86_64-linux-android
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \