Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doing coverage checks on Ubuntu 22.04 instead of latest due to autoconf lcov >= 2.0 issue #293

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,22 @@ jobs:
- name: Build
run: autoreconf -ivf && ./configure --disable-tls && make -j

build-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get -qq update
sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev

- name: Build
run: autoreconf -ivf && ./configure --disable-tls && make -j

build-ubuntu:
strategy:
matrix:
platform: [ubuntu-latest, ubuntu-20.04]
platform: [ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
Expand All @@ -61,6 +73,8 @@ jobs:
sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev libssl-dev

- name: Build
# for coverage reports we need to use Ubuntu 22.04 or lower
# (given Ubuntu 24.04 uses lcov >= 2.0 which is not support on autoconf still)
run: autoreconf -ivf && ./configure --enable-code-coverage && make -j
- name: Setup Python
uses: actions/setup-python@v2
Expand Down
Loading