mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
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:
1 parent
1737217815
commit
6d7151a5e2
1 file changed
+8
-3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user