From 6a282112cce8ac3ec47205a7a34e4ddc397b806c Mon Sep 17 00:00:00 2001 From: aarzilli Date: Fri, 17 Sep 2021 08:48:05 +0200 Subject: [PATCH] TeamCity: enable tests on go-tip --- _scripts/test_linux.sh | 5 ++++- _scripts/test_mac.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/_scripts/test_linux.sh b/_scripts/test_linux.sh index a35e8acf..e7156bf2 100755 --- a/_scripts/test_linux.sh +++ b/_scripts/test_linux.sh @@ -21,7 +21,10 @@ function getgo { } if [ "$version" = "gotip" ]; then - exit 0 + # TODO: remove this + if [ "$arch" != "amd64" ]; then + exit 0 + fi echo Building Go from tip getgo $(curl https://golang.org/VERSION?m=text) export GOROOT_BOOTSTRAP=$GOROOT diff --git a/_scripts/test_mac.sh b/_scripts/test_mac.sh index 78ef0755..f4395a84 100644 --- a/_scripts/test_mac.sh +++ b/_scripts/test_mac.sh @@ -8,7 +8,10 @@ ARCH=$2 TMPDIR=$3 if [ "$GOVERSION" = "gotip" ]; then - exit 0 + # TODO: remove this + if [ "$arch" != "amd64" ]; then + exit 0 + fi bootstrapver=$(curl https://golang.org/VERSION?m=text) cd $TMPDIR curl -sSL "https://storage.googleapis.com/golang/$bootstrapver.darwin-$ARCH.tar.gz" | tar -xz