appveyor.yml (1592B)
1 version: '{build}' 2 3 skip_tags: true 4 skip_branch_with_pr: true 5 6 install: [] 7 8 environment: 9 matrix: 10 - VSVERSION: Visual Studio 9 2008 11 - VSVERSION: Visual Studio 10 2010 12 - VSVERSION: Visual Studio 11 2012 13 - VSVERSION: Visual Studio 12 2013 14 - VSVERSION: Visual Studio 14 2015 15 - VSVERSION: Visual Studio 15 2017 16 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 17 - VSVERSION: Visual Studio 16 2019 18 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 19 20 platform: 21 - Win32 22 - x64 23 24 matrix: 25 exclude: 26 - platform: x64 27 VSVERSION: Visual Studio 9 2008 28 # VS 2019 / 64-bit is tested in GitHub Actions instead. 29 - platform: x64 30 VSVERSION: Visual Studio 16 2019 31 32 configuration: 33 - Debug 34 # Removed to reduce configuration explosion. 35 # - RelWithDebInfo 36 # - MinSizeRel 37 - Release 38 39 build_script: 40 - md build 41 - cd build 42 - if NOT "%VSVERSION%"=="Visual Studio 16 2019" if "%PLATFORM%"=="x64" cmake -G "%VSVERSION% Win64" ../test 43 - if NOT "%VSVERSION%"=="Visual Studio 16 2019" if "%PLATFORM%"=="Win32" cmake -G "%VSVERSION%" ../test 44 - if "%VSVERSION%"=="Visual Studio 16 2019" cmake -G "%VSVERSION%" -A "%PLATFORM%" ../test 45 - msbuild /m /p:Configuration="%CONFIGURATION%" /p:Platform="%PLATFORM%" utest.sln 46 - copy %CONFIGURATION%\utest_test.exe utest_test.exe 47 - copy %CONFIGURATION%\utest_test_wpo.exe utest_test_wpo.exe 48 - copy %CONFIGURATION%\utest_test_wpo.exe utest_test_mt.exe 49 50 test_script: 51 - utest_test.exe 52 - utest_test_wpo.exe 53 - utest_test_mt.exe 54 - utest_test.exe --random-order 55 - utest_test.exe --random-order=42