mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -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
|
||||
|
||||
shadow-integration:
|
||||
# Need golang 1.21 from unstable to build snowflake
|
||||
image: debian:sid-slim
|
||||
image: golang:1.21-$DEBIAN_STABLE
|
||||
variables:
|
||||
SHADOW_VERSION: "v3.1.0"
|
||||
TGEN_VERSION: "v1.1.2"
|
||||
|
@ -183,9 +182,8 @@ shadow-integration:
|
|||
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
|
||||
pushd shadow/
|
||||
CONTAINER=debian:sid-slim ci/container_scripts/install_deps.sh
|
||||
CC=gcc CONTAINER=debian:sid-slim ci/container_scripts/install_extra_deps.sh
|
||||
apt-get install -y zlib1g
|
||||
CONTAINER=debian:stable-slim ci/container_scripts/install_deps.sh
|
||||
CC=gcc CONTAINER=debian:stable-slim ci/container_scripts/install_extra_deps.sh
|
||||
export PATH="$HOME/.cargo/bin:${PATH}"
|
||||
./setup build --jobs $(nproc) --prefix $CI_PROJECT_DIR/opt/
|
||||
./setup install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue