Skip to content

Update GHA version

Update GHA version #18

Workflow file for this run

name: ci-devel
on:
push:
pull_request:
schedule:
- cron: "11 3 * * 6"
jobs:
test:
if: success() || failure()
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [clang, gcc]
steps:
- uses: varnishcache-friends/setup-varnish@v1
- run: |
sudo apt-get update
sudo apt-get install -y python3-docutils libmaxminddb-dev
- uses: actions/checkout@v4
with:
submodules: recursive
- run: ./autogen.sh
- name: enable gcov
if: matrix.compiler == 'gcc'
run: echo "CONFIGURE_ARGS=--enable-gcov" >> $GITHUB_ENV
- name: configure
run: CC=${{ matrix.compiler }} ./configure CFLAGS="-Wall -Wextra -Werror" $CONFIGURE_ARGS
- run: make
- run: make check VERBOSE=1
- name: codecov
if: matrix.compiler == 'gcc'
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -v -f src/.libs/libvmod-geoip2.info -t ${{ secrets.CODECOV_TOKEN }}
- run: make distcheck