Skip to content

Commit

Permalink
TeamCity: add go1.17 to test matrix, disable go-tip builds (#2576)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarzilli authored Jul 12, 2021
1 parent f0a32c8 commit 1399f20
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion _scripts/test_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _scripts/test_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _scripts/test_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1399f20

Please sign in to comment.