glm/.appveyor.yml

53 lines
1.2 KiB
YAML
Raw Normal View History

2018-08-19 14:43:07 +00:00
shallow_clone: true
2016-11-19 20:16:20 +00:00
2018-08-19 14:43:07 +00:00
platform:
- x86
- x64
2018-08-19 14:43:07 +00:00
configuration:
- Debug
- Release
2018-08-19 14:43:07 +00:00
image:
- Visual Studio 2015
- Visual Studio 2017
2018-08-19 00:34:41 +00:00
2018-08-19 14:43:07 +00:00
environment:
matrix:
2018-08-19 15:09:51 +00:00
- GLM_ARGUMENTS: "-DGLM_TEST_FORCE_PURE=ON"
- GLM_ARGUMENTS: "-DGLM_TEST_ENABLE_SIMD_SSE2=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON"
- GLM_ARGUMENTS: "-DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON"
2018-08-18 23:12:58 +00:00
2018-08-19 14:43:07 +00:00
matrix:
exclude:
- image: Visual Studio 2015
platform: x86
- image: Visual Studio 2015
configuration: Debug
- image: Visual Studio 2017
platform: x86
2018-08-19 00:24:55 +00:00
before_build:
2018-08-19 14:43:07 +00:00
- ps: |
mkdir build
cd build
2018-08-19 14:59:37 +00:00
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2015") {
2018-08-19 14:43:07 +00:00
$env:generator="Visual Studio 14 2015"
2018-08-19 14:59:37 +00:00
}
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2017") {
2018-08-19 14:43:07 +00:00
$env:generator="Visual Studio 15 2017"
}
if ($env:PLATFORM -eq "x64") {
$env:generator="$env:generator Win64"
}
echo generator="$env:generator"
2018-08-19 15:21:44 +00:00
cmake .. -G "$env:generator" -DGLM_TEST_ENABLE=ON
build_script:
2018-08-19 14:43:07 +00:00
- cmake --build . --config %CONFIGURATION% -- /m /v:minimal
test_script:
- ctest -j4
2018-08-19 00:19:59 +00:00
2018-08-19 14:43:07 +00:00
deploy: off