Skip to content

ChangeLog: add entry for PR #463 #56

ChangeLog: add entry for PR #463

ChangeLog: add entry for PR #463 #56

Workflow file for this run

# GitHub actions workflow.
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
name: Build+Test CI
on:
push:
branches:
- master
tags:
- v*
pull_request:
types:
- opened
branches:
- master
jobs:
make-check-ubuntu-x64:
strategy:
matrix:
os:
- ubuntu-latest
cc:
- gcc
- clang
features:
# everything disabled, this MUST work
- >
--without-gzip --without-lz4 --without-ssl
--without-oniguruma --without-pcre2 --without-pcre
# gzip
- --with-gzip --without-lz4 --without-ssl
# lz4
- --without-gzip --with-lz4 --without-ssl
# gzip/lz4
- --with-gzip --with-lz4 --without-ssl
# gzip/lz4/ssl
- --with-gzip --with-lz4 --with-ssl
# oniguruma
- --with-oniguruma --without-pcre2 --without-pcre
# pcre
- --without-oniguruma --without-pcre2 --with-pcre
# all defaults (detect)
- ""
runs-on: ${{ matrix.os }}
env:
CC: ${{ matrix.cc }}
steps:
- name: install deps
run: >
sudo apt-get install -y
libonig-dev libpcre3-dev libssl-dev
zlib1g-dev libsnappy-dev liblz4-dev
wget
- uses: actions/checkout@v2
- name: fix timestamps
# workaround git not retaining mtimes and bison/flex not being
# uptodate
run: |
touch conffile.tab.c conffile.tab.h conffile.yy.c
touch configure.ac Makefile.am aclocal.m4 configure
touch Makefile.in config.h.in
- name: configure variant ${{ matrix.features }}
run: ./configure --disable-maintainer-mode ${{ matrix.features }}
- name: make variant ${{ matrix.features }}
run: make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" clean check
make-check-macos-x64:
strategy:
matrix:
os:
- macos-latest
cc:
- clang
features:
# everything disabled, this MUST work
- >
--without-gzip --without-lz4 --without-ssl
--without-oniguruma --without-pcre2 --without-pcre
# all defaults (detect)
- ""
runs-on: ${{ matrix.os }}
env:
CC: ${{ matrix.cc }}
steps:
- name: install deps
run: brew install lz4 pcre pcre2 snappy openssl
- uses: actions/checkout@v2
- name: fix timestamps
# workaround git not retaining mtimes and bison/flex not being
# uptodate
run: |
touch conffile.yy.c conffile.tab.c conffile.tab.h
touch configure.ac Makefile.am aclocal.m4 configure
touch Makefile.in config.h.in
- name: configure variant ${{ matrix.features }}
run: ./configure --disable-maintainer-mode ${{ matrix.features }}
- name: make variant ${{ matrix.features }}
run: make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" clean check
coverity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: fix timestamps
# workaround git not retaining mtimes and bison/flex not being
# uptodate
run: |
touch conffile.yy.c conffile.tab.c conffile.tab.h
touch configure.ac Makefile.am aclocal.m4 configure
touch Makefile.in config.h.in
- name: configure
run: ./configure --disable-maintainer-mode
- uses: vapier/coverity-scan-action@v1
with:
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}