source: mod_gnutls/.github/workflows/build.yml @ 33d812d

asyncioproxy-ticket
Last change on this file since 33d812d was 15ce4db, checked in by Fiona Klute <fiona.klute@…>, 16 months ago

CI: Remove Fedora SoftHSM testing update, should be in stable now

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