1# Build matrix / environment variables are explained on: 2# https://www.appveyor.com/docs/appveyor-yml/ 3# This file can be validated on: https://ci.appveyor.com/tools/validate-yaml 4 5version: "{build}" 6 7environment: 8 matrix: 9 # AppVeyor currently has no custom job name feature. 10 # http://help.appveyor.com/discussions/questions/1623-can-i-provide-a-friendly-name-for-jobs 11 - JOB: Visual Studio 2019 12 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 13 CMAKE_GENERATOR: Visual Studio 16 2019 14 15platform: 16 - x86 17 - x64 18 19configuration: 20 - RelWithDebInfo 21 - Debug 22 23build_script: 24 - git submodule update --init --recursive 25 - mkdir build 26 - cd build 27 - if "%platform%"=="x86" (set CMAKE_GENERATOR_PLATFORM="Win32") 28 else (set CMAKE_GENERATOR_PLATFORM="%platform%") 29 - cmake --version 30 - cmake .. -G "%CMAKE_GENERATOR%" -A "%CMAKE_GENERATOR_PLATFORM%" 31 -DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%" -DCRC32C_USE_GLOG=0 32 - cmake --build . --config "%CONFIGURATION%" 33 - cd .. 34 35test_script: 36 - build\%CONFIGURATION%\crc32c_tests.exe 37 - build\%CONFIGURATION%\crc32c_capi_tests.exe 38 - build\%CONFIGURATION%\crc32c_bench.exe 39