diff --git a/.appveyor.yml b/.appveyor.yml index 9680e4a..071b159 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -24,6 +24,20 @@ environment: compiler: msvc configuration: Release + - platform: x86 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + generator: "Visual Studio 16 2019" + compiler: msvc19 + configuration: Release + arch: Win32 + + - platform: x64 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + generator: "Visual Studio 16 2019 Win64" + compiler: msvc19 + configuration: Release + arch: x64 + - platform: x86 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 generator: "MinGW Makefiles" @@ -57,6 +71,7 @@ build_script: - mkdir build - cd build - if [%compiler%]==[msvc] cmake -G"%generator%" .. + - if [%compiler%]==[msvc19] cmake -G"%generator%" -A "%arch%" .. - if [%compiler%]==[mingw] set PATH=%TOOLCHAIN_PATH%;%PATH% - if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_C_COMPILER=%CC% -DCMAKE_CXX_COMPILER=%CXX% -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_BUILD_TYPE=%configuration% .. - cmake --build . --config %configuration%