mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-11-23 00:26:45 +08:00
feat(更新环境): 更新NDK到android-ndk-r21d
This commit is contained in:
parent
fa5ebe0051
commit
8a1aac3f9e
@ -36,9 +36,9 @@ steps:
|
|||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r21b-linux-x86_64.zip
|
- wget -q -T 180 https://dl.google.com/android/repository/android-ndk-r21d-linux-x86_64.zip
|
||||||
- unzip -q android-ndk-r21b-linux-x86_64.zip
|
- unzip -q android-ndk-r21d-linux-x86_64.zip
|
||||||
- rm -f android-ndk-r21b-linux-x86_64.zip
|
- rm -f android-ndk-r21d-linux-x86_64.zip
|
||||||
- name: docker
|
- name: docker
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -10,9 +10,9 @@ RUN apt-get update \
|
|||||||
build-essential mingw-w64 upx-ucl
|
build-essential mingw-w64 upx-ucl
|
||||||
|
|
||||||
# 安装android ndk
|
# 安装android ndk
|
||||||
COPY android-ndk-r21b /usr/local/android-ndk-r21b
|
COPY android-ndk-r21d /usr/local/android-ndk-r21d
|
||||||
|
|
||||||
# 环境变量
|
# 环境变量
|
||||||
ENV PATH=$PATH:/usr/local/android-ndk-r21b/toolchains/llvm/prebuilt/linux-x86_64/bin
|
ENV PATH=$PATH:/usr/local/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
ENV GOPROXY=https://goproxy.aite.xyz,direct
|
ENV GOPROXY=https://goproxy.aite.xyz,direct
|
Loading…
x
Reference in New Issue
Block a user