Revision control

Copy as Markdown

Other Tools

clone_depth: 5
environment:
SCCACHE_CACHE_SIZE: 160M
SCCACHE_VERSION: 0.2.12
APPVEYOR_SAVE_CACHE_ON_ERROR: true
matrix:
# MSVC 2015 DLL x86-32
- CC: VC2015
PLATFORM: x86
TARGET: shared
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
BOOST_ROOT: "C:\\Libraries\\boost_1_69_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_69_0\\lib32-msvc-14.0"
BOOST_SYSTEM_LIBRARY: "libboost_system-vc140-mt-x32-1_69"
MAKE_TOOL: nmake
TARGET_CC: msvc
EXTRA_FLAGS: "--disable-werror"
DISABLED_TESTS: "certstor_system" # requires 'ISRG Root X1' / not in this AppVeyor image
# MSVC 2017 DLL x86-32
- CC: VC2017
PLATFORM: x86
TARGET: shared
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BOOST_ROOT: "C:\\Libraries\\boost_1_69_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_69_0\\lib32-msvc-14.1"
BOOST_SYSTEM_LIBRARY: "libboost_system-vc141-mt-x32-1_69"
MAKE_TOOL: jom
TARGET_CC: msvc
DISABLED_TESTS: "certstor_system" # requires 'ISRG Root X1' / not in this AppVeyor image
# MSVC 2017 DLL x86-64
- CC: VC2017
PLATFORM: x86_amd64
TARGET: shared
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BOOST_ROOT: "C:\\Libraries\\boost_1_69_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_69_0\\lib64-msvc-14.1"
BOOST_SYSTEM_LIBRARY: "libboost_system-vc141-mt-x64-1_69"
MAKE_TOOL: jom
TARGET_CC: msvc
DISABLED_TESTS: "certstor_system" # requires 'ISRG Root X1' / not in this AppVeyor image
# MSVC 2017 static x86-64
- CC: VC2017
PLATFORM: x86_amd64
TARGET: static
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BOOST_ROOT: "C:\\Libraries\\boost_1_69_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_69_0\\lib64-msvc-14.1"
BOOST_SYSTEM_LIBRARY: "libboost_system-vc141-mt-x64-1_69"
MAKE_TOOL: jom
TARGET_CC: msvc
EXTRA_FLAGS: "--extra-cxxflags=/DUNICODE --extra-cxxflags=/D_UNICODE"
DISABLED_TESTS: "certstor_system" # requires 'ISRG Root X1' / not in this AppVeyor image
# MSVC 2019 static x86-64 w/debug iterators
- CC: VC2019
PLATFORM: x86_amd64
TARGET: sanitizer
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MAKE_TOOL: jom
TARGET_CC: msvc
# MinGW GCC
- CC: MinGW
PLATFORM: x86_amd64
TARGET: static
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MAKE_TOOL: mingw32-make
TARGET_CC: gcc
install:
- call src\scripts\ci\setup_appveyor.bat
build_script:
- 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%
# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
branches:
only:
- master
- release-2
cache:
- C:\Users\appveyor\AppData\Local\Mozilla\sccache\cache