source: mod_gnutls/.github/workflows/build.yml @ 132eadc

asyncioproxy-ticket
Last change on this file since 132eadc was 72b0853, checked in by Fiona Klute <fiona.klute@…>, 16 months ago

CI: Install Fedora testing update to fix SoftHSM hangs

See: https://bodhi.fedoraproject.org/updates/FEDORA-2020-77604f07ae

  • Property mode set to 100644
File size: 2.3 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
[72b0853]33          dnf -y upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-77604f07ae
[2cc53cb]34      - name: network overview
35        run: |
36          ip addr show
37          cat /etc/hosts
[773e45a]38      - name: set prefix for container-specific artifacts
39        # this is because upload-artifact doesn't like ":" in file names
40        run: |
41          echo "::set-env name=artifact_prefix::$(echo debian:sid | sed s/:/-/)"
[2cc53cb]42      - name: autoreconf
43        run: autoreconf -fiv
44      - name: configure
[1a6eeae]45        run: TEST_IP=127.0.0.1 APACHE_MUTEX=pthread ./configure
[2cc53cb]46      - name: store config.log
47        uses: actions/upload-artifact@v1
48        if: failure()
49        with:
[57dec86]50          name: ${{ matrix.container }}-config-log
[2cc53cb]51          path: config.log
52      - name: make
53        run: make
54      - name: make check
55        run: VERBOSE=1 make check
[0be2505]56      - name: store Apache logs
[2e96cec]57        uses: actions/upload-artifact@v2
[2cc53cb]58        if: failure() || cancelled()
59        with:
[773e45a]60          name: ${{ env.artifact_prefix }}-apache-logs
[2cc53cb]61          path: test/logs/
[2e96cec]62      - name: store test logs
63        uses: actions/upload-artifact@v2
64        if: failure() || cancelled()
[2cc53cb]65        with:
[2e96cec]66          name: ${{ env.artifact_prefix }}-test-logs
67          path: test/test-*.log
[2794787]68      - name: make distcheck
69        run: VERBOSE=1 make distcheck
Note: See TracBrowser for help on using the repository browser.