From 945ff4d1604479e234ad7df9e8bd3200553ca512 Mon Sep 17 00:00:00 2001 From: Ron Evans Date: Thu, 19 Mar 2020 12:55:26 +0100 Subject: [PATCH] build: use go1.13.8 instead of image default which is now go1.14 Signed-off-by: Ron Evans --- azure-pipelines.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cdb78c59..d8c4b8a4 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 @@ -60,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 @@ -68,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 @@ -79,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