Skip to content

Commit 4d8a3d8

Browse files
Merge pull request #1054 from PowerGridModel/feature/bump-github-actions-compilers
CI: bump compilers
2 parents d979158 + 4987045 commit 4d8a3d8

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/build-test-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ jobs:
7979
- name: Install packages
8080
run: |
8181
sudo apt-get update
82-
sudo apt-get install -y ninja-build gcc-13 g++-13 clang-18
82+
sudo apt-get install -y ninja-build gcc-14 g++-14 clang-18
8383
sudo ln -s /usr/bin/clang-18 /usr/local/bin/clang
8484
sudo ln -s /usr/bin/clang++-18 /usr/local/bin/clang++
85-
sudo ln -s /usr/bin/gcc-13 /usr/local/bin/gcc
86-
sudo ln -s /usr/bin/g++-13 /usr/local/bin/g++
85+
sudo ln -s /usr/bin/gcc-14 /usr/local/bin/gcc
86+
sudo ln -s /usr/bin/g++-14 /usr/local/bin/g++
8787
8888
- name: Enable brew
8989
run: |
@@ -150,7 +150,7 @@ jobs:
150150
install\${{ env.PRESET }}\bin\power_grid_model_package_test; if(!$?) { Exit $LASTEXITCODE }
151151
152152
build-cpp-test-macos:
153-
runs-on: macos-14
153+
runs-on: macos-15
154154
strategy:
155155
matrix:
156156
build-option: [ debug, release ]

docs/advanced_documentation/build-guide.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,27 @@ Below is a list of tested compilers:
4545

4646
#### Linux
4747

48-
* gcc >= 13.0
48+
* gcc >= 14.0
4949
* Version 14.x tested using the version in the `manylinux_2_28` container.
5050
* Version 14.x tested using the musllinux build with custom compiler
51-
* Version 13.x tested in CI
52-
* Clang >= 17.0
51+
* Version 14.x tested in CI
52+
* Clang >= 18.0
5353
* Version 18.x tested in CI
5454
* Version 18.x tested in CI with code quality checks
5555

5656
You can define the environment variable `CXX` to for example `clang++` to specify the C++ compiler.
5757

5858
#### Windows
5959

60-
* MSVC >= 17.5
60+
* MSVC >= 19.0
6161
* Latest release tested in CI (e.g. Visual Studio 2022, IDE or build tools)
62-
* Clang CL >= 17.0
62+
* Clang CL >= 19.0
6363
* Latest release tested in CI (e.g. Visual Studio 2022, IDE or build tools)
6464

6565
#### macOS
6666

67-
* Clang >= 15.0
68-
* Latest release tested in CI
67+
* Clang >= 17.0
68+
* Latest XCode release tested in CI
6969

7070
### Build System for CMake Project
7171

@@ -226,8 +226,8 @@ You can use this example in Windows Subsystem for Linux (WSL), or in a physical/
226226
Append the following lines into the file `${HOME}/.bashrc`.
227227
228228
```shell
229-
export CXX=clang++-18 # or g++-13
230-
export CC=clang-18 # gcc-13
229+
export CXX=clang++-18 # or g++-14
230+
export CC=clang-18 # or gcc-14
231231
export CMAKE_PREFIX_PATH=/home/linuxbrew/.linuxbrew
232232
export LLVM_COV=llvm-cov-18
233233
export CLANG_TIDY=clang-tidy-18 # only if you want to use one of the clang-tidy presets

0 commit comments

Comments
 (0)