Skip to content

Commit 40564c4

Browse files
committed
gcc & clang min version bump
1 parent 80b9609 commit 40564c4

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/clang.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ jobs:
1919

2020
- name: Prepare
2121
env:
22-
CC: clang-17
23-
CXX: clang++-17
22+
CC: clang-18
23+
CXX: clang++-18
2424
run: |
25-
cmake -B build -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
25+
cmake -B build_clang -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
2626
continue-on-error: false
2727

2828
- name: Build test executable
2929
run: |
30-
cd build && make -j 4
30+
cmake --build build_clang/ -j5
3131
continue-on-error: false
3232

3333
- name: Run tests
3434
run: |
35-
./build/tests/gl
36-
./build/tests/hgl
35+
./build_clang/tests/gl
36+
./build_clang/tests/hgl

.github/workflows/gpp.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
CC: gcc-14
2323
CXX: g++-14
2424
run: |
25-
cmake -B build -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
25+
cmake -B build_gcc -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
2626
continue-on-error: false
2727

2828
- name: Build test executable
2929
run: |
30-
cd build && make -j 4
30+
cmake --build build_gcc/ -j5
3131
continue-on-error: false
3232

3333
- name: Run tests
3434
run: |
35-
./build/tests/gl
36-
./build/tests/hgl
35+
./build_gcc/tests/gl
36+
./build_gcc/tests/hgl

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ The instructions and requirements of working on the `CPP-GL` project can be foun
131131
<!--TODO: verify whether the min compiler version is correct for C++23-->
132132
| Compiler | Min version |
133133
| :-: | :-: |
134-
| GNU G++ | 13 | #
135-
| Clang | 17 |
134+
| GNU G++ | 14 |
135+
| Clang | 18 |
136136

137137
> [!NOTE]
138138
> Although currently the project has been properly verified using only the G++ and Clang compilers it should work fine with other compilers with C++23 support like MSVC.

0 commit comments

Comments
 (0)