@@ -21,20 +21,13 @@ variables:
2121
2222.platform_windows_template :&platform_windows_template
2323stage :Platform Tests
24+ image :stabletec/build-core:windows
2425tags :
2526 -docker-windows
2627script :
27- -echo 'try {' | out-file -encoding utf8 build.ps1
28- -echo 'cd ..; mkdir workdir-cpy' | out-file -encoding utf8 -append build.ps1
29- -echo 'Copy-Item C:\workdir\* -Destination C:\workdir-cpy -Recurse' | out-file -encoding utf8 -append build.ps1
30- -echo 'cd workdir-cpy' | out-file -encoding utf8 -append build.ps1
31- -echo 'mkdir build; cd build' | out-file -encoding utf8 -append build.ps1
32- -echo "cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release" | out-file -encoding utf8 -append build.ps1
33- -echo 'if(-not $?){throw}' | out-file -encoding utf8 -append build.ps1
34- -echo 'ninja' | out-file -encoding utf8 -append build.ps1
35- -echo 'if(-not $?){throw}' | out-file -encoding utf8 -append build.ps1
36- -echo '} catch { exit 1 }' | out-file -encoding utf8 -append build.ps1
37- -docker run --rm -v ${pwd}:C:\workdir $env:IMAGE C:\workdir\build.ps1
28+ -mkdir build; cd build
29+ -cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
30+ -ninja
3831
3932.platform_macos_template :&platform_macos_template
4033stage :Platform Tests
@@ -45,56 +38,72 @@ variables:
4538 -mkdir build && cd build
4639 -cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
4740 -ninja
48- -ctest
4941
5042Fedora/GCC :
51- image :stabletec/build-core:fedora-gcc
43+ image :stabletec/build-core:fedora
44+ variables :
45+ CC :gcc
46+ CXX :g++
5247<< :*platform_unix_template
5348
5449Fedora/Clang :
55- image :stabletec/build-core:fedora-clang
50+ image :stabletec/build-core:fedora
51+ variables :
52+ CC :clang
53+ CXX :clang++
5654<< :*platform_unix_template
5755
5856Debian/GCC :
59- image :stabletec/build-core:debian-gcc
57+ image :stabletec/build-core:debian
58+ variables :
59+ CC :gcc
60+ CXX :g++
6061<< :*platform_unix_template
6162
6263Debian/Clang :
63- image :stabletec/build-core:debian-clang
64+ image :stabletec/build-core:debian
65+ variables :
66+ CC :clang
67+ CXX :clang++
6468<< :*platform_unix_template
6569
6670Ubuntu/GCC :
67- image :stabletec/build-core:ubuntu-gcc
71+ image :stabletec/build-core:ubuntu
72+ variables :
73+ CC :gcc
74+ CXX :g++
6875<< :*platform_unix_template
6976
7077Ubuntu/Clang :
71- image :stabletec/build-core:ubuntu-clang
78+ image :stabletec/build-core:ubuntu
79+ variables :
80+ CC :clang
81+ CXX :clang++
7282<< :*platform_unix_template
7383
7484openSUSE/GCC :
75- image :stabletec/build-core:opensuse-gcc
85+ image :stabletec/build-core:opensuse
86+ variables :
87+ CC :gcc
88+ CXX :g++
7689<< :*platform_unix_template
7790
7891openSUSE/Clang :
79- image :stabletec/build-core:opensuse-clang
92+ image :stabletec/build-core:opensuse
93+ variables :
94+ CC :clang
95+ CXX :clang++
8096<< :*platform_unix_template
8197
8298Windows/MSVC :
83- variables :
84- IMAGE :stabletec/build-core:windows-msvc
8599<< :*platform_windows_template
86100
87101Windows/Clang-cl :
88102variables :
89- IMAGE :stabletec/build-core:windows-clang-cl
103+ CC :clang-cl
104+ CXX :clang-cl
90105<< :*platform_windows_template
91106
92- macOS/GCC :
93- variables :
94- CC :gcc
95- CXX :g++
96- << :*platform_macos_template
97-
98107macOS/Clang :
99108variables :
100109CC :clang
@@ -105,16 +114,18 @@ macOS/Clang:
105114
106115.analysis_template :&analysis_template
107116stage :Analysis
108- image :stabletec/build-foe:fedora-clang
117+ image :stabletec/build-foe:fedora
109118allow_failure :true
110119tags :
111120 -docker-linux
112121script :
113122 -mkdir build && cd build
114- -cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release-DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DNO_VULKAN_DEVICE=ON -DBUILD_WINDOW_TESTS=OFF ${CMAKE_OPTIONS}
123+ -cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release ${CMAKE_OPTIONS}
115124 -ninja
116125
117126Static Analysis :
118127variables :
119128CMAKE_OPTIONS :-DCLANG_TIDY=ON -DCPPCHECK=ON
129+ CC :clang
130+ CXX :clang++
120131<< :*analysis_template