Adds gcc-14 support to Ubuntu workflow

Adds support for gcc-14 to the Ubuntu 24.04 build workflow.
This ensures compatibility with projects requiring gcc-14 and allows testing with the latest compiler versions.

It installs gcc-14 and g++-14 if the configuration specifies 'gcc-14'.
This commit is contained in:
Magne Sjaastad authored and Kristian Bendiksen committed 2026-01-05 17:34:57 +01:00
1 parent 1737217815
commit 6d7151a5e2
1 file changed
+8 -3
+8 -3
View File
@@ -49,10 +49,10 @@ jobs:
ri-unit-test-path: "ResInsight-tests",
}
- {
name: "Ubuntu 24.04 gcc",
name: "Ubuntu 24.04 gcc-14",
os: ubuntu-24.04,
cc: "gcc",
cxx: "g++",
cc: "gcc-14",
cxx: "g++-14",
build-python-module: true,
execute-unit-tests: true,
execute-pytests: true,
@@ -155,6 +155,11 @@ jobs:
sudo chmod +x llvm.sh
sudo ./llvm.sh 19 all
- name: Install gcc-14
if: contains( matrix.config.cc, 'gcc-14')
run: |
sudo apt-get install --option="APT::Acquire::Retries=3" gcc-14 g++-14
- name: Install Qt
uses: jurplel/install-qt-action@v4
with: