diff --git a/appveyor.yml b/appveyor.yml index b1783c7c8..87c22376d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -140,6 +140,8 @@ install: - if "%OSVARIANT%"=="mingw" bash -c "pacman --noconfirm --sync mingw%MBITS%/mingw-w64-%MARCH%-autotools mingw%MBITS%/mingw-w64-%MARCH%-pcre2 mingw%MBITS%/mingw-w64-%MARCH%-boost mingw%MBITS%/mingw-w64-%MARCH%-python" - if not "%WITHLANG%"=="" set SWIGWITHLANG==%WITHLANG% - if not "%WITHLANG%"=="" where %WITHLANG% + if "%SWIGLANG%"=="python" set PY3=3 + if "%PY2%"="2" set PY3= - bash -c "which $CC" - bash -c "which $CXX" - bash -c "$CC --version | head -n 1" @@ -159,7 +161,7 @@ build_script: - if "%OSVARIANT%"=="" bash -c "exec 0