From 217a9a868afd45d54b28434c44f3c836a641eeb3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 24 Apr 2020 01:13:43 -0700 Subject: [PATCH] fix: add /usr/local/bin/go to PATH --- .appveyor/appveyor.yml | 5 ++++- .appveyor/build.sh | 3 ++- .appveyor/test.sh | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.appveyor/appveyor.yml b/.appveyor/appveyor.yml index 7d28ab378add..17fb9b3f9238 100644 --- a/.appveyor/appveyor.yml +++ b/.appveyor/appveyor.yml @@ -22,7 +22,10 @@ image: Visual Studio 2019 build: off -# the worker clones the repo into the clone folder, cds there, then: +# the worker clones the repo into the clone folder +# (/mnt/c/projects/agoric-sdk), cds there, then runs each of the following +# steps. Each step is run from /mnt/c/projects/agoric-sdk, even if it uses +# 'cd' internally (i.e. each step is run in a separate shell). install: - ps: wsl -- .appveyor/no-stderr .appveyor/install-go.sh - ps: wsl -- .appveyor/no-stderr .appveyor/install-nvm.sh diff --git a/.appveyor/build.sh b/.appveyor/build.sh index afed45d4f131..2b9f5ad3e3cf 100755 --- a/.appveyor/build.sh +++ b/.appveyor/build.sh @@ -1,8 +1,9 @@ #!/bin/bash -ie -export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +export PATH="/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" echo "pwd is" +pwd nvm use v13.11.0 echo "running nvm current" diff --git a/.appveyor/test.sh b/.appveyor/test.sh index ea6a6e0b73ff..19d30ba2115a 100755 --- a/.appveyor/test.sh +++ b/.appveyor/test.sh @@ -1,8 +1,9 @@ #!/bin/bash -ie -export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +export PATH="/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" echo "pwd is" +pwd nvm use v13.11.0 echo "running nvm current"