aboutsummaryrefslogtreecommitdiff
path: root/src/crc32c/.appveyor.yml
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2020-01-28 16:59:58 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2020-01-28 17:00:01 +0100
commit3acaa13b157509e81f0eba6c1e16938816439e7b (patch)
treeec0fc55dc63d16c4fae135abfe580cd646a7f9c0 /src/crc32c/.appveyor.yml
parent20a6babfa9a66f5432ef19c6c433b4357560f853 (diff)
parent2e1819311a59fb5cb26e3ca50a510bfe01358350 (diff)
Import crc32c using subtree merge as as 'src/crc32c'
Diffstat (limited to 'src/crc32c/.appveyor.yml')
-rw-r--r--src/crc32c/.appveyor.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/crc32c/.appveyor.yml b/src/crc32c/.appveyor.yml
new file mode 100644
index 0000000000..7345746750
--- /dev/null
+++ b/src/crc32c/.appveyor.yml
@@ -0,0 +1,37 @@
+# Build matrix / environment variables are explained on:
+# https://www.appveyor.com/docs/appveyor-yml/
+# This file can be validated on: https://ci.appveyor.com/tools/validate-yaml
+
+version: "{build}"
+
+environment:
+ matrix:
+ # AppVeyor currently has no custom job name feature.
+ # http://help.appveyor.com/discussions/questions/1623-can-i-provide-a-friendly-name-for-jobs
+ - JOB: Visual Studio 2017
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ CMAKE_GENERATOR: Visual Studio 15 2017
+
+platform:
+ - x86
+ - x64
+
+configuration:
+ - RelWithDebInfo
+ - Debug
+
+build_script:
+ - git submodule update --init --recursive
+ - mkdir build
+ - cd build
+ - if "%platform%"=="x64" set CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64
+ - cmake --version
+ - cmake .. -G "%CMAKE_GENERATOR%" -DCRC32C_USE_GLOG=0
+ -DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%"
+ - cmake --build . --config "%CONFIGURATION%"
+ - cd ..
+
+test_script:
+ - build\%CONFIGURATION%\crc32c_tests.exe
+ - build\%CONFIGURATION%\crc32c_capi_tests.exe
+ - build\%CONFIGURATION%\crc32c_bench.exe