mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-12-22 21:48:15 +08:00
feat(更新版本): 更新ndk到android-ndk-r21e
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
57e104e9dc
commit
0f11710618
@ -33,9 +33,9 @@ steps:
|
||||
pull: if-not-exists
|
||||
image: alpine
|
||||
commands:
|
||||
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r21d-linux-x86_64.zip
|
||||
- unzip -q android-ndk-r21d-linux-x86_64.zip
|
||||
- rm -f android-ndk-r21d-linux-x86_64.zip
|
||||
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r21e-linux-x86_64.zip
|
||||
- unzip -q android-ndk-r21e-linux-x86_64.zip
|
||||
- rm -f android-ndk-r21e-linux-x86_64.zip
|
||||
- name: docker
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
|
@ -10,9 +10,9 @@ RUN apt-get update \
|
||||
build-essential mingw-w64 upx-ucl file zip
|
||||
|
||||
# 安装android ndk
|
||||
COPY android-ndk-r21d /usr/local/android-ndk-r21d
|
||||
COPY android-ndk-r21e /usr/local/android-ndk-r21e
|
||||
|
||||
# 环境变量
|
||||
ENV PATH=$PATH:/usr/local/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin
|
||||
ENV PATH=$PATH:/usr/local/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin
|
||||
ENV GO111MODULE=on
|
||||
ENV GOPROXY=https://goproxy.aite.xyz,direct
|
||||
|
Loading…
x
Reference in New Issue
Block a user