Fix scope handling regression #283
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.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] | |
conf-gssapi: [--with-gssapi, --without-gssapi] | |
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: case ${{matrix.conf-gssapi}} in | |
*with-gssapi) sudo apt-get update && sudo apt-get -y install libkrb5-dev ;; | |
esac | |
- run: ./configure ${{matrix.conf-shared}} ${{matrix.conf-xml}} | |
${{matrix.conf-ssl}} ${{matrix.conf-memleak}} | |
${{matrix.conf-debug}} ${{matrix.conf-gssapi}} | |
- run: make | |
- run: make check | |
containers: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: ["quay.io/centos/centos:stream9", | |
"fedora:latest"] | |
container: | |
image: ${{ matrix.image }} | |
steps: | |
- run: dnf update -y && dnf install -y autoconf make expat-devel openssl-devel krb5-devel libtool zlib-devel | |
- uses: actions/checkout@v3 | |
- run: ./autogen.sh | |
- run: ./configure --with-ssl=openssl --with-expat --enable-debug --with-gssapi | |
- run: make | |
- run: make check |