glm/.appveyor.yml

88 lines
2.9 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:
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
2019-09-07 10:25:06 +00:00
- Visual Studio 2019
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
2019-11-06 14:04:34 +00:00
- GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_14=ON
- GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_17=ON
2018-08-19 15:47:49 +00:00
matrix:
exclude:
- image: Visual Studio 2013
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
2019-11-06 14:06:47 +00:00
- image: Visual Studio 2013
2019-11-06 14:04:34 +00:00
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_14=ON
2019-11-06 14:06:47 +00:00
- image: Visual Studio 2013
2019-11-06 14:04:34 +00:00
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_17=ON
2018-08-19 15:47:49 +00:00
- image: Visual Studio 2013
configuration: Debug
2019-09-07 10:43:24 +00:00
- image: Visual Studio 2015
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_SSE2=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON
2019-11-06 14:06:47 +00:00
- image: Visual Studio 2015
2019-11-06 14:04:34 +00:00
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_14=ON
2019-11-06 14:06:47 +00:00
- image: Visual Studio 2015
2019-11-06 14:04:34 +00:00
GLM_ARGUMENTS: -DGLM_TEST_ENABLE_SIMD_AVX=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_CXX_17=ON
2018-08-19 15:47:49 +00:00
- image: Visual Studio 2015
platform: x86
- image: Visual Studio 2015
configuration: Debug
- image: Visual Studio 2017
platform: x86
2019-09-07 10:28:35 +00:00
- image: Visual Studio 2017
configuration: Debug
- image: Visual Studio 2019
2019-09-07 12:19:09 +00:00
platform: x64
2018-08-19 15:47:49 +00:00
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"
}
2019-09-07 10:25:06 +00:00
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2019") {
$env:generator="Visual Studio 16 2019"
}
2018-08-19 14:43:07 +00:00
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%
2019-11-01 17:16:31 +00:00
- cd ..
- ps: |
mkdir build_test_cmake
cd build_test_cmake
cmake ..\test\cmake\ -G "$env:generator" -Dglm_DIR="$env:APPVEYOR_BUILD_FOLDER"
- cmake --build . --config %CONFIGURATION% -- /m /v:minimal
2018-08-19 00:19:59 +00:00
2018-08-19 14:43:07 +00:00
deploy: off