Skip to content

Commit 247efa7

Browse files
committed
ci: add coverage for gcc 13,14, clang 15-19
Add coverage for: * gcc: 13, 14 * clang: 15, 16, 17, 18, 19 Using Ubuntu 24.04 docker image.
1 parent 0c40591 commit 247efa7

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,33 @@ jobs:
7575
env:
7676
CONFIG_FLAGS: --disable-silent-rules --enable-debug
7777

78+
gcc_ubuntu_24_04:
79+
strategy:
80+
matrix:
81+
version: [13, 14]
82+
runs-on: ubuntu-24.04
83+
env:
84+
CPP: cpp-${{ matrix.version }}
85+
CC: gcc-${{ matrix.version }}
86+
CXX: g++-${{ matrix.version }}
87+
steps:
88+
- name: "Checkout libcdada"
89+
uses: actions/checkout@v3
90+
with:
91+
path: libcdada
92+
93+
- name: "Install deps"
94+
run: ./libcdada/.github/workflows/deps.sh gcc ${{ matrix.version }}
95+
96+
- name: "Compile and test using GCC${{ matrix.version }}"
97+
run: cd libcdada && .github/workflows/test_script.sh
98+
env:
99+
CONFIG_FLAGS: --disable-silent-rules
100+
- name: "Compile and test using GCC${{ matrix.version }} (DEBUG)"
101+
run: cd libcdada && .github/workflows/test_script.sh
102+
env:
103+
CONFIG_FLAGS: --disable-silent-rules --enable-debug
104+
78105
clang_ubuntu_22_04:
79106
strategy:
80107
matrix:
@@ -103,3 +130,32 @@ jobs:
103130
run: cd libcdada && .github/workflows/test_script.sh
104131
env:
105132
CONFIG_FLAGS: --disable-silent-rules --enable-debug
133+
134+
clang_ubuntu_24_04:
135+
strategy:
136+
matrix:
137+
version: [15, 16, 17, 18, 19]
138+
runs-on: ubuntu-24.04
139+
env:
140+
CPP: clang-cpp-${{ matrix.version }}
141+
CC: clang-${{ matrix.version }}
142+
CXX: clang++-${{ matrix.version }}
143+
CFLAGS: -gdwarf-4 #clang14 and on use dwarf5, but valgrind doesn't support it
144+
CXXFLAGS: -gdwarf-4
145+
steps:
146+
- name: "Checkout libcdada"
147+
uses: actions/checkout@v3
148+
with:
149+
path: libcdada
150+
151+
- name: "Install deps"
152+
run: ./libcdada/.github/workflows/deps.sh clang ${{ matrix.version }}
153+
154+
- name: "Compile and test using clang-${{ matrix.version }}"
155+
run: cd libcdada && .github/workflows/test_script.sh
156+
env:
157+
CONFIG_FLAGS: --disable-silent-rules
158+
- name: "Compile and test using clang-${{ matrix.version }} (DEBUG)"
159+
run: cd libcdada && .github/workflows/test_script.sh
160+
env:
161+
CONFIG_FLAGS: --disable-silent-rules --enable-debug

0 commit comments

Comments
 (0)