Skip to content

Commit 56ff937

Browse files
authored
Try to fix Appveyor builds by using more recent Visual Studio version. (#1002)
* Try using the VS2022 image, see if that fixes the builds (mingw ones cannot find netcdf.h with VS 2019). * Add pacman key refresh to try to get past the "signature is unknown trust" error.
1 parent e32ebfb commit 56ff937

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

devtools/ci/appveyor/setup-environment.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ if %BUILD_TYPE% equ cmake-vs (
3232
set CC=%MINGWPREFIX%-gcc.exe
3333
set CXX=%MINGWPREFIX%-g++.exe
3434
set FC=%MINGWPREFIX%-gfortran.exe
35+
sh -lc "pacman-key --refresh-keys"
3536
sh -lc "pacman -S --noconfirm --needed mingw-w64-x86_64-netcdf mingw-w64-x86_64-openblas mingw-w64-x86_64-arpack mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-ncurses mingw-w64-x86_64-readline diffutils"
3637

3738
rem build NetCDF (we need our own version since the one in Pacman has an unwanted dependency on HDF5 and Termcap)

0 commit comments

Comments
 (0)