mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Trying to fix appveyor script
This commit is contained in:
parent
520020056c
commit
067647f4cb
103
.appveyor.yml
103
.appveyor.yml
@ -1,84 +1,37 @@
|
|||||||
clone_folder: c:\dev\glm-cmake
|
clone_folder: c:\dev\glm-cmake
|
||||||
|
|
||||||
environment:
|
image:
|
||||||
matrix:
|
- Visual Studio 2013
|
||||||
os: Visual Studio 2013
|
- Visual Studio 2015
|
||||||
- platform: x86
|
- Visual Studio 2017
|
||||||
configuration: Release
|
configuration:
|
||||||
build_script:
|
- Release
|
||||||
- md build32_pure_98_release
|
- Debug
|
||||||
- cd build32_pure_98_release
|
platform:
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON ..
|
- x64
|
||||||
- cmake -E time cmake --build . --config Release
|
|
||||||
|
|
||||||
- platform: x64
|
init:
|
||||||
configuration: Release
|
- set arch=
|
||||||
build_script:
|
- if "%arch%"=="Win64" ( set arch= Win64)
|
||||||
- md build64_pure_98_release
|
- echo %arch%
|
||||||
- cd build64_pure_98_release
|
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON ..
|
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
|
||||||
- cmake -E time cmake --build . --config Release
|
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015%arch%" )
|
||||||
|
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013%arch%" )
|
||||||
|
- echo %generator%
|
||||||
|
|
||||||
- platform: x64
|
before_build:
|
||||||
configuration: Release
|
- cmd: |-
|
||||||
build_script:
|
mkdir build
|
||||||
- md build64_pure_ms_release
|
cd build
|
||||||
- cd build64_pure_ms_release
|
cmake --version
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_FORCE_PURE=ON ..
|
cmake .. -G %generator%
|
||||||
- cmake -E time cmake --build . --config Release
|
|
||||||
|
|
||||||
os: Visual Studio 2015
|
build:
|
||||||
- platform: x64
|
project: c:\dev\glm-cmake\build\template.sln
|
||||||
configuration: Debug
|
verbosity: minimal
|
||||||
build_script:
|
parallel: true
|
||||||
- md build_pure_11_debug
|
|
||||||
- cd build_pure_11_debug
|
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_FORCE_PURE=ON ..
|
|
||||||
- cmake -E time cmake --build . --config Debug
|
|
||||||
|
|
||||||
- platform: x64
|
|
||||||
configuration: Release
|
|
||||||
build_script:
|
|
||||||
- md build64_pure_11_release
|
|
||||||
- cd build64_pure_11_release
|
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_FORCE_PURE=ON ..
|
|
||||||
- cmake -E time cmake --build . --config Release
|
|
||||||
|
|
||||||
- platform: x64
|
|
||||||
configuration: Release
|
|
||||||
build_script:
|
|
||||||
- md build64_sse3_11_release
|
|
||||||
- cd build64_sse3_11_release
|
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_11=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_SSE3=ON ..
|
|
||||||
- cmake -E time cmake --build . --config Release
|
|
||||||
|
|
||||||
os: Visual Studio 2017
|
|
||||||
- platform: x64
|
|
||||||
configuration: Release
|
|
||||||
build_script:
|
|
||||||
- md build64_pure_14_release
|
|
||||||
- cd build64_pure_14_release
|
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_14=ON -DGLM_TEST_FORCE_PURE=ON ..
|
|
||||||
- cmake -E time cmake --build . --config Release
|
|
||||||
|
|
||||||
- platform: x64
|
|
||||||
configuration: Release
|
|
||||||
build_script:
|
|
||||||
- md build64_sse3_14_release
|
|
||||||
- cd build64_sse3_14_release
|
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_14=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_SSE3=ON ..
|
|
||||||
- cmake -E time cmake --build . --config Release
|
|
||||||
|
|
||||||
os: Visual Studio 2017
|
|
||||||
- platform: x64
|
|
||||||
configuration: Release
|
|
||||||
build_script:
|
|
||||||
- md build64_avx_14_release
|
|
||||||
- cd build64_avx_14_release
|
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_14=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DGLM_TEST_ENABLE_SIMD_AVX=ON ..
|
|
||||||
- cmake -E time cmake --build . --config Release
|
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- cd ..
|
|
||||||
- ctest
|
- ctest
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user