diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-11-04 14:39:13 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-11-05 00:35:54 +0100 |
commit | 2c085257fdfab7c60fa5369771f9ba63f2907333 (patch) | |
tree | 864f5f9b99c2f64e03d41444033af1997087ca98 | |
parent | de13113dc16e3f3a453e783dc7ea692ac4967231 (diff) | |
download | rneovim-2c085257fdfab7c60fa5369771f9ba63f2907333.tar.gz rneovim-2c085257fdfab7c60fa5369771f9ba63f2907333.tar.bz2 rneovim-2c085257fdfab7c60fa5369771f9ba63f2907333.zip |
CI/AppVeyor: Avoid "warning" which causes non-zero retcode
ErrorActionPreference=stop will fail the script if this warning occurs.
see https://github.com/open62541/open62541/issues/2068
-rw-r--r-- | ci/build.ps1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1 index 5b3eb4d27d..7097da8c32 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -50,6 +50,9 @@ if ($compiler -eq 'MINGW') { # Add MinGW to the PATH $env:PATH = "C:\msys64\mingw$bits\bin;$env:PATH" + # Avoid pacman "warning" which causes non-zero return code. https://github.com/open62541/open62541/issues/2068 + & C:\msys64\usr\bin\mkdir -p /var/cache/pacman/pkg + # Build third-party dependencies C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm -Su" ; exitIfFailed C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm --needed -S $mingwPackages" ; exitIfFailed |