Pin cc crate to fix AArch64-Android CI

This commit is contained in:
Yuki Okushi
2020-10-17 02:49:18 +09:00
parent 420874087c
commit e67dfced82
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -9,15 +9,15 @@ unzip -q ${NDK}-linux-x86_64.zip
case "$1" in
arm)
arch=arm
api=24
api=28
;;
armv7)
arch=arm
api=24
api=28
;;
aarch64)
arch=arm64
api=24
api=28
;;
i686)
arch=x86
+1 -1
View File
@@ -29,7 +29,7 @@ RUN chmod 755 /android/sdk/cmdline-tools/tools/* /android/sdk/emulator/qemu/linu
RUN ls -a /android/sdk/platform-tools
ENV PATH=$PATH:/rust/bin \
CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android-gcc \
CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android28-clang \
CARGO_TARGET_AARCH64_LINUX_ANDROID_RUNNER=/tmp/runtest \
HOME=/tmp
+1 -1
View File
@@ -9,7 +9,7 @@ path = ".."
default-features = false
[build-dependencies]
cc = "1.0"
cc = "=1.0.52"
# FIXME: Use fork ctest until the maintainer gets back.
ctest2 = "0.3"