Skip to content

Commit

Permalink
Use a matrix for Ubuntu x APR versions testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
notroj committed Sep 3, 2024
1 parent 052d106 commit 71dbb83
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,54 @@ jobs:
strategy:
fail-fast: false
matrix:
apr-version: [1.6.x, 1.7.x]
os: [ubuntu-20.04, ubuntu-22.04]
include:
- name: APR 1.7.x
apr-version: 1.7.x
config-output: APU_HAVE_SDBM
- name: APR 1.6.x
apr-version: 1.6.x
config-output: APU_HAVE_SDBM
- name: APR 1.7.x maintainer-mode
apr-version: 1.7.x
apr-config: --enable-maintainer-mode
config-output: APU_HAVE_SDBM
notest-cflags: -Werror
os: ubuntu-latest
- name: APR 1.7.x LDAP + maintainer-mode
apr-version: 1.7.x
apr-config: --enable-maintainer-mode
config-output: APU_HAVE_SDBM
config: --with-ldap
notest-cflags: -Werror
packages: libldap-dev libsasl2-dev
os: ubuntu-latest
- name: APR 1.7.x Databases + maintainer-mode
apr-version: 1.7.x
apr-config: --enable-maintainer-mode
config-output: APU_HAVE_SDBM
config: --with-dbm=db5 --with-berkeley-db --with-gdbm --with-ndbm
notest-cflags: -Werror
packages: libdb5.3-dev
os: ubuntu-latest
- name: APR 1.7.x OpenSSL + maintainer-mode
apr-version: 1.7.x
apr-config: --enable-maintainer-mode
config: --with-crypto=yes --with-openssl=yes
config-output: APU_HAVE_CRYPTO APU_HAVE_OPENSSL APU_HAVE_SDBM
notest-cflags: -Werror
runs-on: ubuntu-latest
os: ubuntu-latest
- name: APR 1.7.x Databases + maintainer-mode
apr-version: 1.7.x
apr-config: --enable-maintainer-mode
config-output: APU_HAVE_SDBM
config: --with-dbm=db5 --with-berkeley-db --with-gdbm --with-ndbm
notest-cflags: -Werror
packages: libdb5.3-dev
os: ubuntu-latest
- name: APR 1.7.x Ubuntu 20
apr-version: 1.7.x
apr-config: --enable-maintainer-mode
config: --with-crypto=yes --with-openssl=yes
config-output: APU_HAVE_CRYPTO APU_HAVE_OPENSSL APU_HAVE_SDBM
notest-cflags: -Werror
os: ubuntu-latest
runs-on: ${{ matrix.os }}
env:
NOTEST_CFLAGS: ${{ matrix.notest-cflags }}
name: ${{ matrix.name }}
Expand Down

0 comments on commit 71dbb83

Please sign in to comment.