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:15:16 +00:00
|
|
|
|
2018-08-19 14:43:07 +00:00
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
2018-08-19 14:15:16 +00:00
|
|
|
|
2018-08-19 14:43:07 +00:00
|
|
|
image:
|
|
|
|
- Visual Studio 2013
|
|
|
|
- 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 14:46:59 +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 2013
|
2018-08-19 14:52:06 +00:00
|
|
|
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
|
2018-08-19 14:55:22 +00:00
|
|
|
- image: Visual Studio 2013
|
|
|
|
configuration: Debug
|
2018-08-19 14:52:06 +00:00
|
|
|
- image: Visual Studio 2015
|
|
|
|
platform: x86
|
2018-08-19 14:55:22 +00:00
|
|
|
- image: Visual Studio 2015
|
|
|
|
configuration: Debug
|
2018-08-19 14:52:06 +00:00
|
|
|
- image: Visual Studio 2017
|
|
|
|
platform: x86
|
2018-08-19 00:24:55 +00:00
|
|
|
|
2018-08-19 14:15:16 +00:00
|
|
|
before_build:
|
2018-08-19 14:43:07 +00:00
|
|
|
- ps: |
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2013") {
|
|
|
|
$env:generator="Visual Studio 12 2013"
|
|
|
|
} else if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2015") {
|
|
|
|
$env:generator="Visual Studio 14 2015"
|
|
|
|
} else {
|
|
|
|
$env:generator="Visual Studio 15 2017"
|
|
|
|
}
|
|
|
|
if ($env:PLATFORM -eq "x64") {
|
|
|
|
$env:generator="$env:generator Win64"
|
|
|
|
}
|
|
|
|
echo generator="$env:generator"
|
2018-08-19 14:46:59 +00:00
|
|
|
cmake .. -G "$env:generator" -DGLM_TEST_ENABLE=ON "$env:GLM_ARGUMENTS"
|
2018-08-19 14:15:16 +00:00
|
|
|
|
|
|
|
build_script:
|
2018-08-19 14:43:07 +00:00
|
|
|
- cmake --build . --config %CONFIGURATION% -- /m /v:minimal
|
|
|
|
|
|
|
|
test_script:
|
2018-08-19 14:55:22 +00:00
|
|
|
- ctest -j4
|
2018-08-19 00:19:59 +00:00
|
|
|
|
2018-08-19 14:43:07 +00:00
|
|
|
deploy: off
|