TUN-8072: Add script to download cloudflare go for Mac build agents

This commit is contained in:
chungthuang
2023-12-17 16:01:01 +00:00
committed by Chung-Ting Huang
parent 652df22831
commit 86b50eda15
2 changed files with 13 additions and 2 deletions

11
.teamcity/mac/install-cloudflare-go.sh vendored Executable file
View File

@@ -0,0 +1,11 @@
cd /tmp/
git clone -q https://github.com/cloudflare/go
cd go/src
# https://github.com/cloudflare/go/tree/34129e47042e214121b6bbff0ded4712debed18e is version go1.21.5-devel-cf
git checkout -q 34129e47042e214121b6bbff0ded4712debed18e
./make.bash
export PATH="/tmp/go/bin:$PATH"
go version
which go
go env