@@ -23,27 +23,45 @@ checked_by_cppcheck:
2323 - python
2424 - cppcheck
2525
26- compile_windows :
26+ compile.windows :
2727 stage : build
2828 script :
2929 - ' cd tools/batch/ && python .\..\..\tools\jsonschematoc11 glTF_2.0_schema.ini && cd ../../'
30- - ' call "%VS140COMNTOOLS%VsDevCmd.bat"'
3130 - ' if exist build rmdir /s /q build'
32- - ' if exist output rmdir /s /q output'
3331 - ' mkdir build && cd build'
32+ - ' mkdir vs2017 && cd vs2017'
33+ - ' call "%VS2017COMNTOOLS%VsDevCmd.bat"'
34+ - ' mkdir win32 && cd win32'
35+ - ' cmake -G "Visual Studio 15 2017" -DLIBGLTF_WITH_UNICODE=TRUE -DCUSTOM_OUT_PATH="%CD%\output" ../../../'
36+ - ' msbuild libgltf.sln /t:Build /p:Configuration="Debug" /p:Platform="Win32"'
37+ - ' output\bin\win32\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-BarramundiFish.gltf'
38+ - ' output\bin\win32\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-Draco-BarramundiFish.gltf'
39+ - ' output\bin\win32\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-pbrSpecularGlossinessBarramundiFish.gltf'
40+ - ' cd ../'
41+ - ' mkdir win64 && cd win64'
42+ - ' cmake -G "Visual Studio 15 2017 Win64" -DLIBGLTF_WITH_UNICODE=TRUE -DCUSTOM_OUT_PATH="%CD%\output" ../../../'
43+ - ' msbuild libgltf.sln /t:Build /p:Configuration="Debug" /p:Platform="x64"'
44+ - ' output\bin\win64\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-BarramundiFish.gltf'
45+ - ' output\bin\win64\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-Draco-BarramundiFish.gltf'
46+ - ' output\bin\win64\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-pbrSpecularGlossinessBarramundiFish.gltf'
47+ - ' cd ../'
48+ - ' cd ../'
49+ - ' mkdir vs2015 && cd vs2015'
50+ - ' call "%VS140COMNTOOLS%VsDevCmd.bat"'
3451 - ' mkdir win32 && cd win32'
35- - ' cmake -G "Visual Studio 14 2015" -DLIBGLTF_WITH_UNICODE=TRUE ../../'
36- - ' msbuild libgltf.sln /t:Rebuild /p:Configuration="Debug" /p:Platform="Win32"'
37- - ' ..\..\ output\bin\win32\Debug\runtest.exe ..\..\resource\example-2.0\glTF-BarramundiFish.gltf'
38- - ' ..\..\ output\bin\win32\Debug\runtest.exe ..\..\resource\example-2.0\glTF-Draco-BarramundiFish.gltf'
39- - ' ..\..\ output\bin\win32\Debug\runtest.exe ..\..\resource\example-2.0\glTF-pbrSpecularGlossinessBarramundiFish.gltf'
52+ - ' cmake -G "Visual Studio 14 2015" -DLIBGLTF_WITH_UNICODE=TRUE -DCUSTOM_OUT_PATH="%CD%\output" ../ ../../'
53+ - ' msbuild libgltf.sln /t:Build /p:Configuration="Debug" /p:Platform="Win32"'
54+ - ' output\bin\win32\Debug\runtest.exe ..\ ..\..\resource\example-2.0\glTF-BarramundiFish.gltf'
55+ - ' output\bin\win32\Debug\runtest.exe ..\ ..\..\resource\example-2.0\glTF-Draco-BarramundiFish.gltf'
56+ - ' output\bin\win32\Debug\runtest.exe ..\ ..\..\resource\example-2.0\glTF-pbrSpecularGlossinessBarramundiFish.gltf'
4057 - ' cd ../'
4158 - ' mkdir win64 && cd win64'
42- - ' cmake -G "Visual Studio 14 2015 Win64" -DLIBGLTF_WITH_UNICODE=TRUE ../../'
43- - ' msbuild libgltf.sln /t:Rebuild /p:Configuration="Debug" /p:Platform="x64"'
44- - ' ..\..\output\bin\win64\Debug\runtest.exe ..\..\resource\example-2.0\glTF-BarramundiFish.gltf'
45- - ' ..\..\output\bin\win64\Debug\runtest.exe ..\..\resource\example-2.0\glTF-Draco-BarramundiFish.gltf'
46- - ' ..\..\output\bin\win64\Debug\runtest.exe ..\..\resource\example-2.0\glTF-pbrSpecularGlossinessBarramundiFish.gltf'
59+ - ' cmake -G "Visual Studio 14 2015 Win64" -DLIBGLTF_WITH_UNICODE=TRUE -DCUSTOM_OUT_PATH="%CD%\output" ../../../'
60+ - ' msbuild libgltf.sln /t:Build /p:Configuration="Debug" /p:Platform="x64"'
61+ - ' output\bin\win64\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-BarramundiFish.gltf'
62+ - ' output\bin\win64\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-Draco-BarramundiFish.gltf'
63+ - ' output\bin\win64\Debug\runtest.exe ..\..\..\resource\example-2.0\glTF-pbrSpecularGlossinessBarramundiFish.gltf'
64+ - ' cd ../'
4765 - ' cd ../'
4866 - ' cd ../'
4967 tags :
@@ -52,8 +70,9 @@ compile_windows:
5270 - python
5371 - cmake
5472 - vs2015
73+ - vs2017
5574
56- compile_linux :
75+ compile.linux :
5776 stage : build
5877 script :
5978 - ' cd tools/batch/ && ./update_parser_by_scheme.sh && cd ../../'
@@ -81,7 +100,7 @@ compile_linux:
81100 - valgrind
82101 - gcovr
83102
84- compile_macos :
103+ compile.macos :
85104 stage : build
86105 script :
87106 - ' cd tools/batch/ && ./update_parser_by_scheme.sh && cd ../../'
@@ -99,7 +118,7 @@ compile_macos:
99118 - make
100119 - gcc
101120
102- compile_android :
121+ compile.android :
103122 stage : build
104123 script :
105124 - ' cd tools/batch/ && ./update_parser_by_scheme.sh && cd ../../'
@@ -132,7 +151,7 @@ compile_android:
132151 - cmake
133152 - ninja
134153
135- compile_ios :
154+ compile.ios :
136155 stage : build
137156 script :
138157 - ' cd tools/batch/ && ./update_parser_by_scheme.sh && cd ../../'
0 commit comments