1 2clone_depth: 5 3 4environment: 5 SCCACHE_CACHE_SIZE: 160M 6 SCCACHE_VERSION: 0.2.12 7 APPVEYOR_SAVE_CACHE_ON_ERROR: true 8 9 matrix: 10 11 # MSVC 2015 DLL x86-32 12 - CC: VC2015 13 PLATFORM: x86 14 TARGET: shared 15 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 16 BOOST_ROOT: "C:\\Libraries\\boost_1_69_0" 17 BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_69_0\\lib32-msvc-14.0" 18 BOOST_SYSTEM_LIBRARY: "libboost_system-vc140-mt-x32-1_69" 19 MAKE_TOOL: nmake 20 TARGET_CC: msvc 21 EXTRA_FLAGS: "--disable-werror" 22 DISABLED_TESTS: "certstor_system" # requires 'ISRG Root X1' / not in this AppVeyor image 23 24 # MSVC 2017 DLL x86-32 25 - CC: VC2017 26 PLATFORM: x86 27 TARGET: shared 28 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 29 BOOST_ROOT: "C:\\Libraries\\boost_1_69_0" 30 BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_69_0\\lib32-msvc-14.1" 31 BOOST_SYSTEM_LIBRARY: "libboost_system-vc141-mt-x32-1_69" 32 MAKE_TOOL: jom 33 TARGET_CC: msvc 34 DISABLED_TESTS: "certstor_system" # requires 'ISRG Root X1' / not in this AppVeyor image 35 36 # MSVC 2017 DLL x86-64 37 - CC: VC2017 38 PLATFORM: x86_amd64 39 TARGET: shared 40 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 41 BOOST_ROOT: "C:\\Libraries\\boost_1_69_0" 42 BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_69_0\\lib64-msvc-14.1" 43 BOOST_SYSTEM_LIBRARY: "libboost_system-vc141-mt-x64-1_69" 44 MAKE_TOOL: jom 45 TARGET_CC: msvc 46 DISABLED_TESTS: "certstor_system" # requires 'ISRG Root X1' / not in this AppVeyor image 47 48 # MSVC 2017 static x86-64 49 - CC: VC2017 50 PLATFORM: x86_amd64 51 TARGET: static 52 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 53 BOOST_ROOT: "C:\\Libraries\\boost_1_69_0" 54 BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_69_0\\lib64-msvc-14.1" 55 BOOST_SYSTEM_LIBRARY: "libboost_system-vc141-mt-x64-1_69" 56 MAKE_TOOL: jom 57 TARGET_CC: msvc 58 EXTRA_FLAGS: "--extra-cxxflags=/DUNICODE --extra-cxxflags=/D_UNICODE" 59 DISABLED_TESTS: "certstor_system" # requires 'ISRG Root X1' / not in this AppVeyor image 60 61 # MSVC 2019 static x86-64 w/debug iterators 62 - CC: VC2019 63 PLATFORM: x86_amd64 64 TARGET: sanitizer 65 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 66 MAKE_TOOL: jom 67 TARGET_CC: msvc 68 69 # MinGW GCC 70 - CC: MinGW 71 PLATFORM: x86_amd64 72 TARGET: static 73 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 74 MAKE_TOOL: mingw32-make 75 TARGET_CC: gcc 76 77install: 78 - call src\scripts\ci\setup_appveyor.bat 79 80build_script: 81 - python src\scripts\ci_build.py --os=windows --cc=%TARGET_CC% --without-python3 --compiler-cache=sccache --make-tool=%MAKE_TOOL% --cpu=%PLATFORM% --disabled-tests=%DISABLED_TESTS% %EXTRA_FLAGS% %TARGET% 82 83# whitelist branches to avoid testing feature branches twice (as branch and as pull request) 84branches: 85 only: 86 - master 87 - release-2 88 89cache: 90 - C:\Users\appveyor\AppData\Local\Mozilla\sccache\cache 91