Skip to content

Commit 098fad5

Browse files
committed
ci: add GCC 15,16 coverage
Add CI coverage for GCC 15, 16
1 parent dfca8fc commit 098fad5

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,41 @@ jobs:
102102
env:
103103
CONFIG_FLAGS: --disable-silent-rules --enable-debug
104104

105+
ubuntu_25_10_gcc:
106+
strategy:
107+
matrix:
108+
version: [15, 16]
109+
runs-on: ubuntu-24.04
110+
env:
111+
CPP: cpp-${{ matrix.version }}
112+
CC: gcc-${{ matrix.version }}
113+
CXX: g++-${{ matrix.version }}
114+
steps:
115+
- name: "Checkout libcdada"
116+
uses: actions/checkout@v3
117+
with:
118+
path: libcdada
119+
120+
- name: Run tests in Ubuntu 25.10 container
121+
run: |
122+
docker run --rm \
123+
-v ${{ github.workspace }}:/workspace \
124+
-w /workspace \
125+
-e CPP="${CPP}" \
126+
-e CC="${CC}" \
127+
-e CXX="${CXX}" \
128+
-e CONFIG_FLAGS="--disable-silent-rules" \
129+
ubuntu:25.10 \
130+
bash -c "
131+
set -e
132+
apt-get update
133+
apt-get install -y git
134+
git config --global --add safe.directory /workspace/libcdada
135+
./libcdada/.github/workflows/deps.sh gcc ${{ matrix.version }}
136+
cd libcdada && .github/workflows/test_script.sh
137+
CONFIG_FLAGS=\"\$CONFIG_FLAGS --enable-debug\" .github/workflows/test_script.sh
138+
"
139+
105140
ubuntu_22_04_clang:
106141
strategy:
107142
matrix:

0 commit comments

Comments
 (0)