diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9195523..b5c5b3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: build-ubuntu: strategy: matrix: - platform: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, ubuntu-latest] + platform: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, ubuntu-latest] name: Build ${{ matrix.platform }} env: # https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ @@ -32,7 +32,14 @@ jobs: - name: Install dependencies run: | sudo apt-get -qq update - sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev libssl-dev + sudo apt-get install autoconf automake pkg-config libevent-dev libpcre3-dev libssl-dev + + # Install lcov only on ubuntu-latest + - name: Install lcov + if: matrix.platform == 'ubuntu-latest' + run: | + sudo apt-get install -y lcov + lcov --version # Confirm version - name: Build run: autoreconf -ivf && ./configure --enable-code-coverage && make -j