Skip to content

Commit ae4c12b

Browse files
Doing coverage checks on Ubuntu 22.04 instead of latest due to autoconf lcov >= 2.0 issue (#293)
1 parent 370a25e commit ae4c12b

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/ci.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,22 @@ jobs:
4848
- name: Build
4949
run: autoreconf -ivf && ./configure --disable-tls && make -j
5050

51+
build-ubuntu-latest:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@v4
55+
- name: Install dependencies
56+
run: |
57+
sudo apt-get -qq update
58+
sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev
59+
60+
- name: Build
61+
run: autoreconf -ivf && ./configure --disable-tls && make -j
62+
5163
build-ubuntu:
5264
strategy:
5365
matrix:
54-
platform: [ubuntu-latest, ubuntu-20.04]
66+
platform: [ubuntu-22.04, ubuntu-20.04]
5567
runs-on: ${{ matrix.platform }}
5668
steps:
5769
- uses: actions/checkout@v4
@@ -61,6 +73,8 @@ jobs:
6173
sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev libssl-dev
6274
6375
- name: Build
76+
# for coverage reports we need to use Ubuntu 22.04 or lower
77+
# (given Ubuntu 24.04 uses lcov >= 2.0 which is not support on autoconf still)
6478
run: autoreconf -ivf && ./configure --enable-code-coverage && make -j
6579
- name: Setup Python
6680
uses: actions/setup-python@v2

0 commit comments

Comments
 (0)