Skip to content

Commit 5b9a253

Browse files
committed
ci: add gcc 14
1 parent 6db770e commit 5b9a253

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,32 @@ on:
1818

1919
jobs:
2020

21-
linux-gcc:
21+
linux-gcc14:
22+
runs-on: ubuntu-24.04
23+
timeout-minutes: 15
24+
25+
strategy:
26+
matrix:
27+
gcc-version: [12, 13, 14]
28+
29+
env:
30+
CC: gcc-${{ matrix.gcc-version }}
31+
CXX: g++-${{ matrix.gcc-version }}
32+
FC: gfortran-${{ matrix.gcc-version }}
33+
34+
steps:
35+
- uses: actions/checkout@v4
36+
37+
- uses: ./.github/workflows/composite-unix
38+
39+
40+
linux-gcc9:
2241
runs-on: ubuntu-latest
2342
timeout-minutes: 15
2443

2544
strategy:
2645
matrix:
27-
gcc-version: [9, 10, 11, 12, 13]
46+
gcc-version: [9, 10, 11]
2847

2948
env:
3049
CC: gcc-${{ matrix.gcc-version }}
@@ -38,8 +57,8 @@ jobs:
3857

3958

4059
valgrind-memory:
41-
runs-on: ubuntu-latest
42-
needs: linux-gcc
60+
runs-on: ubuntu-24.04
61+
needs: linux-gcc14
4362
timeout-minutes: 10
4463

4564
steps:
@@ -54,13 +73,12 @@ jobs:
5473

5574

5675
linux-clang:
57-
runs-on: ubuntu-latest
76+
runs-on: ubuntu-24.04
5877
timeout-minutes: 15
5978

6079
strategy:
6180
matrix:
62-
clang-version: [15]
63-
# clang < 15 too old for C++20
81+
clang-version: [17, 18]
6482

6583
env:
6684
CC: clang-${{ matrix.clang-version }}
@@ -95,7 +113,6 @@ jobs:
95113

96114
windows:
97115
runs-on: windows-latest
98-
needs: linux-gcc
99116
timeout-minutes: 10
100117

101118
steps:

0 commit comments

Comments
 (0)