@@ -5,9 +5,11 @@ on: [push, pull_request]
5
5
jobs :
6
6
linux :
7
7
runs-on : ubuntu-22.04
8
+ container :
9
+ image : ubuntu:25.04
8
10
env :
9
11
GCC_VERSION : 12
10
- CLANG_VERSION : 14
12
+ CLANG_VERSION : 19
11
13
steps :
12
14
- name : Checkout TGUI
13
15
uses : actions/checkout@v4
19
21
sudo apt-get -y install g++-$GCC_VERSION clang-$CLANG_VERSION clang-tidy-$CLANG_VERSION ninja-build cppcheck
20
22
sudo apt-get -y install libsfml-dev libsdl2-dev libsdl2-ttf-dev libglfw3-dev libraylib5-dev
21
23
22
- - name : Build TGUI (recent gcc)
24
+ - name : Build TGUI (gcc)
23
25
run : >
24
26
cmake -B TGUI-build-gcc -GNinja
25
27
-DCMAKE_CXX_CPPCHECK="cppcheck;--enable=all;--inline-suppr;--quiet;--suppress=*:*/extlibs/*;--suppress=preprocessorErrorDirective;--suppress=noExplicitConstructor;--suppress=unmatchedSuppression;--suppress=missingIncludeSystem;--suppress=useStlAlgorithm;--suppress=passedByValue;--suppress=unusedFunction;--suppress=virtualCallInConstructor"
@@ -47,12 +49,13 @@ jobs:
47
49
48
50
cmake --build TGUI-build-gcc --config Debug --target install
49
51
50
- - name : Build TGUI (recent clang)
52
+ - name : Build TGUI (clang with c++20 module )
51
53
run : >
52
54
cmake -B TGUI-build-clang -GNinja
53
55
-DCMAKE_CXX_COMPILER=clang++-$CLANG_VERSION
54
56
-DBUILD_SHARED_LIBS=ON
55
- -DTGUI_CXX_STANDARD=17
57
+ -DTGUI_BUILD_CXX20_MODULE=ON
58
+ -DTGUI_CXX_STANDARD=20
56
59
-DTGUI_WARNINGS_AS_ERRORS=ON
57
60
-DTGUI_BUILD_EXAMPLES=ON
58
61
-DTGUI_BUILD_GUI_BUILDER=ON
@@ -601,7 +604,7 @@ jobs:
601
604
7z x raylib-${env:RAYLIB_VERSION}_win32_msvc16.zip
602
605
7z x v${env:FREETYPE_VERSION}.zip
603
606
604
- - name : Build TGUI (with c++20 module)
607
+ - name : Build TGUI
605
608
run : >
606
609
cmake -B TGUI-build -T v${env:MSVC_TOOLSET_VERSION} -A Win32
607
610
-DSFML_ROOT="${env:GITHUB_WORKSPACE}/SFML-${env:SFML_VERSION}/"
@@ -614,8 +617,7 @@ jobs:
614
617
-DFREETYPE_WINDOWS_BINARIES_PATH="${env:GITHUB_WORKSPACE}/freetype-windows-binaries-${env:FREETYPE_VERSION}"
615
618
-DCMAKE_INSTALL_PREFIX=TGUI-build/install
616
619
-DCMAKE_UNITY_BUILD=OFF
617
- -DTGUI_BUILD_CXX20_MODULE=ON
618
- -DBUILD_SHARED_LIBS=OFF
620
+ -DBUILD_SHARED_LIBS=ON
619
621
-DTGUI_CXX_STANDARD=23
620
622
-DTGUI_WARNINGS_AS_ERRORS=ON
621
623
-DTGUI_BUILD_EXAMPLES=ON
0 commit comments