Testing static and dynamic libraries.

This commit is contained in:
Daniel Lemire 2019-08-04 09:56:34 -04:00 committed by GitHub
parent 349068dcda
commit 0c86dd9d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -11,12 +11,12 @@ platform:
environment:
matrix:
- AVXFLAG: "OFF"
- AVXFLAG: "ON"
- SIMDJSON_BUILD_STATIC: "OFF"
- SIMDJSON_BUILD_STATIC: "ON"
build_script:
- mkdir build
- cd build
- ps: cmake -DSIMDJSON_DISABLE_AVX="$env:AVXFLAG" -DCMAKE_GENERATOR_PLATFORM=x64 ..
- ps: cmake -DSIMDJSON_BUILD_STATIC="$env:SIMDJSON_BUILD_STATIC" -DCMAKE_GENERATOR_PLATFORM=x64 ..
- cmake --build .
- ctest --verbose