mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Update CI targets to test android from golang 1.21
This commit is contained in:
parent
3a050c6bb3
commit
1d069ca71d
1 changed files with 3 additions and 5 deletions
|
@ -89,12 +89,10 @@ variables:
|
|||
# -- jobs ------------------------------------------------------------
|
||||
|
||||
android:
|
||||
image: debian:bullseye-backports
|
||||
image: golang:1.21-$DEBIAN_STABLE
|
||||
variables:
|
||||
ANDROID_HOME: /usr/lib/android-sdk
|
||||
GOPATH: "/go"
|
||||
LANG: C.UTF-8
|
||||
PATH: "/go/bin:/usr/lib/go-1.16/bin:/usr/bin:/bin"
|
||||
cache:
|
||||
paths:
|
||||
- .gradle/wrapper
|
||||
|
@ -112,7 +110,8 @@ android:
|
|||
gnupg
|
||||
unzip
|
||||
wget
|
||||
- apt-get install -t bullseye-backports golang
|
||||
ca-certificates
|
||||
lbzip2
|
||||
|
||||
- ndk=android-ndk-r21e-linux-x86_64.zip
|
||||
- wget --continue --no-verbose https://dl.google.com/android/repository/$ndk
|
||||
|
@ -123,7 +122,6 @@ android:
|
|||
- mv android-ndk-* $ANDROID_HOME/ndk-bundle/
|
||||
|
||||
- chmod -R a+rX $ANDROID_HOME
|
||||
|
||||
script:
|
||||
- *go-test
|
||||
- export GRADLE_USER_HOME=$CI_PROJECT_DIR/.gradle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue