mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Use golang:1.21 container for shadow experiments
This commit is contained in:
parent
2c16ef83cb
commit
810f1fcc00
1 changed files with 3 additions and 5 deletions
|
@ -155,8 +155,7 @@ debian-testing:
|
||||||
- *go-test
|
- *go-test
|
||||||
|
|
||||||
shadow-integration:
|
shadow-integration:
|
||||||
# Need golang 1.21 from unstable to build snowflake
|
image: golang:1.21-$DEBIAN_STABLE
|
||||||
image: debian:sid-slim
|
|
||||||
variables:
|
variables:
|
||||||
SHADOW_VERSION: "v3.1.0"
|
SHADOW_VERSION: "v3.1.0"
|
||||||
TGEN_VERSION: "v1.1.2"
|
TGEN_VERSION: "v1.1.2"
|
||||||
|
@ -183,9 +182,8 @@ shadow-integration:
|
||||||
echo "The required version of shadow was not cached, building from source"
|
echo "The required version of shadow was not cached, building from source"
|
||||||
git clone --branch $SHADOW_VERSION --depth 1 https://github.com/shadow/shadow.git
|
git clone --branch $SHADOW_VERSION --depth 1 https://github.com/shadow/shadow.git
|
||||||
pushd shadow/
|
pushd shadow/
|
||||||
CONTAINER=debian:sid-slim ci/container_scripts/install_deps.sh
|
CONTAINER=debian:stable-slim ci/container_scripts/install_deps.sh
|
||||||
CC=gcc CONTAINER=debian:sid-slim ci/container_scripts/install_extra_deps.sh
|
CC=gcc CONTAINER=debian:stable-slim ci/container_scripts/install_extra_deps.sh
|
||||||
apt-get install -y zlib1g
|
|
||||||
export PATH="$HOME/.cargo/bin:${PATH}"
|
export PATH="$HOME/.cargo/bin:${PATH}"
|
||||||
./setup build --jobs $(nproc) --prefix $CI_PROJECT_DIR/opt/
|
./setup build --jobs $(nproc) --prefix $CI_PROJECT_DIR/opt/
|
||||||
./setup install
|
./setup install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue