source: mod_gnutls/.github/workflows/build.yml @ 6e41fcb

asyncioproxy-ticket mod_gnutls/0.10.0
Last change on this file since 6e41fcb was c4a6889, checked in by Fiona Klute <fiona.klute@…>, 17 months ago

CI: Add a Debian Sid (unstable) build

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