From 13c97329196779a8856619f6dadaec82aad78052 Mon Sep 17 00:00:00 2001 From: Ron Evans Date: Wed, 18 Mar 2020 22:28:41 +0100 Subject: [PATCH 1/2] build: use go1.13.8 instead of image default which is now go1.14 Signed-off-by: Ron Evans --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cdb78c598b..59721d53f4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,6 +10,9 @@ jobs: pool: vmImage: 'VS2017-Win2016' steps: + - task: GoTool@0 + inputs: + version: '1.13.8' - checkout: self - task: CacheBeta@0 displayName: Cache LLVM source From baf3a11b014a0a5ba8711a37fcc40cf42d28fc1c Mon Sep 17 00:00:00 2001 From: Ron Evans Date: Thu, 19 Mar 2020 07:43:36 +0100 Subject: [PATCH 2/2] build: go1.13.8 already added to path by proper install, no need to add again Signed-off-by: Ron Evans --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 59721d53f4..d8c4b8a473 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -63,7 +63,7 @@ jobs: inputs: targetType: inline script: | - export PATH="/c/Go1.13/bin:$PATH:./llvm-build/bin:/c/Program Files/qemu" + export PATH="$PATH:./llvm-build/bin:/c/Program Files/qemu" unset GOROOT make test - task: Bash@3 @@ -71,7 +71,7 @@ jobs: inputs: targetType: inline script: | - export PATH="/c/Go1.13/bin:$PATH:./llvm-build/bin:/c/Program Files/qemu" + export PATH="$PATH:./llvm-build/bin:/c/Program Files/qemu" unset GOROOT make release -j4 - publish: $(System.DefaultWorkingDirectory)/build/release/tinygo @@ -82,6 +82,6 @@ jobs: inputs: targetType: inline script: | - export PATH="/c/Go1.13/bin:$PATH:./llvm-build/bin:/c/Program Files/qemu" + export PATH="$PATH:./llvm-build/bin:/c/Program Files/qemu" unset GOROOT make smoketest TINYGO=build/tinygo AVR=0