glm/.appveyor.yml

62 lines
1.5 KiB
YAML
Raw Permalink 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:
2018-08-19 15:47:49 +00:00
- Visual Studio 2013
2018-08-19 14:43:07 +00:00
- Visual Studio 2015
- Visual Studio 2017
2018-08-19 00:34:41 +00:00
2018-08-19 15:47:49 +00:00
environment:
matrix:
- 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
matrix:
exclude:
- image: Visual Studio 2013
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
- image: Visual Studio 2013
configuration: Debug
- image: Visual Studio 2015
platform: x86
- image: Visual Studio 2015
configuration: Debug
- image: Visual Studio 2017
platform: x86
before_build:
2018-08-19 14:43:07 +00:00
- ps: |
mkdir build
cd build
2018-08-19 15:31:36 +00:00
2018-08-19 15:47:49 +00:00
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2013") {
$env:generator="Visual Studio 12 2013"
}
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 15:47:49 +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:47:49 +00:00
cmake .. -G "$env:generator" -DGLM_QUIET=ON -DGLM_TEST_ENABLE=ON "$env:GLM_ARGUMENTS"
build_script:
2018-08-19 14:43:07 +00:00
- cmake --build . --config %CONFIGURATION% -- /m /v:minimal
test_script:
2018-08-19 15:55:39 +00:00
- ctest -j4 -C %CONFIGURATION%
2018-08-19 00:19:59 +00:00
2018-08-19 14:43:07 +00:00
deploy: off