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
Line 
1name: CI build
2on:
3  push:
4    # don't run on packaging branches
5    branches-ignore:
6      - 'for-debian'
7      - 'debian/**'
8      - 'pristine-tar'
9jobs:
10  build:
11    strategy:
12      matrix:
13        container:
14          - 'debian:buster'
15          - 'fedora:31'
16    runs-on: ubuntu-latest
17    container: ${{ matrix.container }}
18    name: ${{ matrix.container }}
19    steps:
20      - uses: actions/checkout@v2
21      - name: install dependencies (Debian)
22        if: startsWith(matrix.container, 'debian')
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
26      - name: install dependencies (Fedora)
27        if: startsWith(matrix.container, 'fedora')
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
38        run: TEST_IP=127.0.0.1 APACHE_MUTEX=pthread ./configure
39      - name: store config.log
40        uses: actions/upload-artifact@v1
41        if: failure()
42        with:
43          name: ${{ matrix.container }}-config-log
44          path: config.log
45      - name: make
46        run: make
47      - name: make check
48        run: VERBOSE=1 make check
49      - name: store Apache logs
50        uses: actions/upload-artifact@v1
51        if: failure() || cancelled()
52        with:
53          name: ${{ matrix.container }}-apache-logs
54          path: test/logs/
55      - name: store test log if cancelled
56        uses: actions/upload-artifact@v1
57        if: cancelled()
58        with:
59          name: ${{ matrix.container }}-test-log
60          path: test/test-00_basic.log
61      - name: make distcheck
62        run: VERBOSE=1 make distcheck
Note: See TracBrowser for help on using the repository browser.