source: mod_gnutls/.github/workflows/build.yml @ bfef00c

asyncioproxy-ticket
Last change on this file since bfef00c was 1a6eeae, checked in by Fiona Klute <fiona.klute@…>, 18 months ago

Allow overriding the default HTTPD mutex via configure

The custom config file in the CI test environment can't be passed to
the distcheck environment, which broke builds with the previous
commit. This should be a clean solution.

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[f4ac390e]1name: CI build
[f4f837a]2on:
3  push:
4    # don't run on packaging branches
5    branches-ignore:
6      - 'for-debian'
7      - 'debian/**'
8      - 'pristine-tar'
[f4ac390e]9jobs:
[57dec86]10  build:
11    strategy:
12      matrix:
13        container:
14          - 'debian:buster'
15          - 'fedora:31'
[f4ac390e]16    runs-on: ubuntu-latest
[57dec86]17    container: ${{ matrix.container }}
18    name: ${{ matrix.container }}
[f4ac390e]19    steps:
20      - uses: actions/checkout@v2
[57dec86]21      - name: install dependencies (Debian)
22        if: startsWith(matrix.container, 'debian')
[f4ac390e]23        run: |
24          apt-get update
25          apt-get -y install python3-yaml apache2-bin apache2-dev curl gnutls-bin libapr1-dev libgnutls28-dev openssl pandoc pkg-config procps softhsm2
[57dec86]26      - name: install dependencies (Fedora)
27        if: startsWith(matrix.container, 'fedora')
[2cc53cb]28        run: |
29          dnf -y group install "C Development Tools and Libraries"
30          dnf -y install curl gnutls-devel gnutls-utils httpd-devel iproute python3-pyyaml redhat-rpm-config softhsm
31      - name: network overview
32        run: |
33          ip addr show
34          cat /etc/hosts
35      - name: autoreconf
36        run: autoreconf -fiv
37      - name: configure
[1a6eeae]38        run: TEST_IP=127.0.0.1 APACHE_MUTEX=pthread ./configure
[2cc53cb]39      - name: store config.log
40        uses: actions/upload-artifact@v1
41        if: failure()
42        with:
[57dec86]43          name: ${{ matrix.container }}-config-log
[2cc53cb]44          path: config.log
45      - name: make
46        run: make
47      - name: make check
48        run: VERBOSE=1 make check
[0be2505]49      - name: store Apache logs
50        uses: actions/upload-artifact@v1
[2cc53cb]51        if: failure() || cancelled()
52        with:
[57dec86]53          name: ${{ matrix.container }}-apache-logs
[2cc53cb]54          path: test/logs/
[0be2505]55      - name: store test log if cancelled
56        uses: actions/upload-artifact@v1
[2cc53cb]57        if: cancelled()
58        with:
[57dec86]59          name: ${{ matrix.container }}-test-log
[2cc53cb]60          path: test/test-00_basic.log
[2794787]61      - name: make distcheck
62        run: VERBOSE=1 make distcheck
Note: See TracBrowser for help on using the repository browser.