TeamCity: add go1.17 to test matrix, disable go-tip builds (#2576)
This commit is contained in:
parent
f0a32c8e1b
commit
1399f20585
5
.teamcity/settings.kts
vendored
5
.teamcity/settings.kts
vendored
@ -38,20 +38,25 @@ val targets = arrayOf(
|
||||
"linux/amd64/1.14",
|
||||
"linux/amd64/1.15",
|
||||
"linux/amd64/1.16",
|
||||
"linux/amd64/1.17",
|
||||
"linux/amd64/tip",
|
||||
|
||||
"linux/386/1.16",
|
||||
|
||||
"linux/arm64/1.16",
|
||||
"linux/arm64/1.17",
|
||||
"linux/arm64/tip",
|
||||
|
||||
"windows/amd64/1.16",
|
||||
"windows/amd64/1.17"
|
||||
"windows/amd64/tip",
|
||||
|
||||
"mac/amd64/1.16",
|
||||
"mac/amd64/1.17",
|
||||
"mac/amd64/tip",
|
||||
|
||||
"mac/arm64/1.16",
|
||||
"mac/arm64/1.17",
|
||||
"mac/arm64/tip"
|
||||
)
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ function getgo {
|
||||
}
|
||||
|
||||
if [ "$version" = "gotip" ]; then
|
||||
#exit 0
|
||||
exit 0
|
||||
echo Building Go from tip
|
||||
getgo $(curl https://golang.org/VERSION?m=text)
|
||||
export GOROOT_BOOTSTRAP=$GOROOT
|
||||
|
||||
@ -8,7 +8,7 @@ ARCH=$2
|
||||
TMPDIR=$3
|
||||
|
||||
if [ "$GOVERSION" = "gotip" ]; then
|
||||
#exit 0
|
||||
exit 0
|
||||
bootstrapver=$(curl https://golang.org/VERSION?m=text)
|
||||
cd $TMPDIR
|
||||
curl -sSL "https://storage.googleapis.com/golang/$bootstrapver.darwin-$ARCH.tar.gz" | tar -xz
|
||||
|
||||
@ -32,7 +32,7 @@ function GetGo($version) {
|
||||
}
|
||||
|
||||
if ($version -eq "gotip") {
|
||||
#Exit 0
|
||||
Exit 0
|
||||
$latest = Invoke-WebRequest -Uri https://golang.org/VERSION?m=text -UseBasicParsing | Select-Object -ExpandProperty Content
|
||||
GetGo $latest
|
||||
$env:GOROOT_BOOTSTRAP = $env:GOROOT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user