blob: c97dc7608fc6b0c124d450691fa75090d57421cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
name: Build and test
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
conf-shared: [--enable-static, --enable-shared ]
conf-xml: [--with-expat, --with-libxml2 ]
conf-ssl: [--without-ssl, --with-ssl=openssl, --with-ssl=gnutls]
conf-memleak: [--disable-memleak, --enable-memleak]
conf-debug: [--enable-debug, --disable-debug]
steps:
- uses: actions/checkout@v2
- run: ./autogen.sh
- run: case ${{matrix.conf-ssl}} in
*gnutls) sudo apt-get update && sudo apt-get -y install libgnutls28-dev gnutls-bin xmlto ;;
esac
- run: ./configure ${{matrix.conf-shared}} ${{matrix.conf-xml}}
${{matrix.conf-ssl}} ${{matrix.conf-memleak}}
${{matrix.conf-debug}}
- run: make
- run: make check
|