1414 steps :
1515 - uses : actions/checkout@v4
1616 - name : init
17- run : uname -m
17+ run : |
18+ uname -m
19+ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 10
1820 - name : configure
19- run : cmake -S . --preset=ninja-gcc -B build -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14
21+ run : cmake -S . --preset=ninja-gcc -B build
2022 - name : build debug
2123 run : cmake --build build --config=Debug -- -v
2224 - name : build release
@@ -25,16 +27,18 @@ jobs:
2527 run : cd build && ctest -V -C Debug
2628 - name : test release
2729 run : cd build && ctest -V -C Release
30+ - name : test install
31+ run : cmake -DBUILD_DIR=build -DPRESET=ninja-gcc -P install_test/script.cmake
2832 x64-linux-clang :
2933 runs-on : ubuntu-latest
3034 steps :
3135 - uses : actions/checkout@v4
3236 - name : init
3337 run : |
3438 uname -m
35- sudo apt update -yqq && sudo apt install -yqq clang-19
39+ sudo apt update -yqq && sudo apt install -yqq clang-20
3640 sudo update-alternatives --remove-all clang++
37- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 10
41+ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 10
3842 - name : configure
3943 run : cmake -S . --preset=ninja-clang -B build
4044 - name : build debug
@@ -45,12 +49,16 @@ jobs:
4549 run : cd build && ctest -V -C Debug
4650 - name : test release
4751 run : cd build && ctest -V -C Release
52+ - name : test install
53+ run : cmake -DBUILD_DIR=build -DPRESET=ninja-clang -P install_test/script.cmake
4854 arm64-linux-gcc :
4955 runs-on : ubuntu-24.04-arm
5056 steps :
5157 - uses : actions/checkout@v4
5258 - name : init
53- run : uname -m
59+ run : |
60+ uname -m
61+ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 10
5462 - name : configure
5563 run : cmake -S . --preset=ninja-gcc -B build -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14
5664 - name : build debug
@@ -61,16 +69,18 @@ jobs:
6169 run : cd build && ctest -V -C Debug
6270 - name : test release
6371 run : cd build && ctest -V -C Release
72+ - name : test install
73+ run : cmake -DBUILD_DIR=build -DPRESET=ninja-gcc -P install_test/script.cmake
6474 arm64-linux-clang :
6575 runs-on : ubuntu-24.04-arm
6676 steps :
6777 - uses : actions/checkout@v4
6878 - name : init
6979 run : |
7080 uname -m
71- sudo apt update -yqq && sudo apt install -yqq clang-19
81+ sudo apt update -yqq && sudo apt install -yqq clang-20
7282 sudo update-alternatives --remove-all clang++
73- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 10
83+ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 10
7484 - name : configure
7585 run : cmake -S . --preset=ninja-clang -B build
7686 - name : build debug
8191 run : cd build && ctest -V -C Debug
8292 - name : test release
8393 run : cd build && ctest -V -C Release
94+ - name : test install
95+ run : cmake -DBUILD_DIR=build -DPRESET=ninja-clang -P install_test/script.cmake
8496 x64-windows-vs22 :
8597 runs-on : windows-2025
8698 steps :
@@ -95,17 +107,37 @@ jobs:
95107 run : cd build && ctest -V -C Debug
96108 - name : test release
97109 run : cd build && ctest -V -C Release
110+ - name : test install
111+ run : cmake -DBUILD_DIR=build -DPRESET=vs22 -P install_test/script.cmake
98112 x64-windows-clang :
99113 runs-on : windows-2025
100114 steps :
101115 - uses : actions/checkout@v4
102116 - name : configure
103- run : cmake -S . --preset=ninja-clang -B clang
117+ run : cmake -S . --preset=ninja-clang -B build
118+ - name : build debug
119+ run : cmake --build build --config=Debug -- -v
120+ - name : build release
121+ run : cmake --build build --config=Release -- -v
122+ - name : test debug
123+ run : cd build && ctest -V -C Debug
124+ - name : test release
125+ run : cd build && ctest -V -C Release
126+ - name : test install
127+ run : cmake -DBUILD_DIR=build -DPRESET=ninja-clang -P install_test/script.cmake
128+ x64-mingw-gcc :
129+ runs-on : windows-2025
130+ steps :
131+ - uses : actions/checkout@v4
132+ - name : configure
133+ run : cmake -S . --preset=ninja-gcc -B build
104134 - name : build debug
105- run : cmake --build clang --config=Debug -- -v
135+ run : cmake --build build --config=Debug -- -v
106136 - name : build release
107- run : cmake --build clang --config=Release -- -v
137+ run : cmake --build build --config=Release -- -v
108138 - name : test debug
109- run : cd clang && ctest -V -C Debug
139+ run : cd build && ctest -V -C Debug
110140 - name : test release
111- run : cd clang && ctest -V -C Release
141+ run : cd build && ctest -V -C Release
142+ - name : test install
143+ run : cmake -DBUILD_DIR=build -DPRESET=ninja-gcc -P install_test/script.cmake
0 commit comments