source: mod_gnutls/.github/workflows/build.yml @ 773e45a

proxy-ticket
Last change on this file since 773e45a was 773e45a, checked in by Fiona Klute <fiona.klute@…>, 7 months ago

CI: Remove ":" from artifact prefixes

The hung CI jobs on fedora:32 and debian:sid have likely been caused
by a SoftHSM bug (see https://github.com/opendnssec/SoftHSMv2/issues/548),
but the failure to upload their logs seems to be an issue with the
build config.

  • Property mode set to 100644
File size: 2.2 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      fail-fast: false
13      matrix:
14        container:
15          - 'debian:buster'
16          - 'debian:sid'
17          - 'fedora:32'
18    runs-on: ubuntu-latest
19    container: ${{ matrix.container }}
20    name: ${{ matrix.container }}
21    steps:
22      - uses: actions/checkout@v2
23      - name: install dependencies (Debian)
24        if: startsWith(matrix.container, 'debian')
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
28      - name: install dependencies (Fedora)
29        if: startsWith(matrix.container, 'fedora')
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
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/:/-/)"
41      - name: autoreconf
42        run: autoreconf -fiv
43      - name: configure
44        run: TEST_IP=127.0.0.1 APACHE_MUTEX=pthread ./configure
45      - name: store config.log
46        uses: actions/upload-artifact@v1
47        if: failure()
48        with:
49          name: ${{ matrix.container }}-config-log
50          path: config.log
51      - name: make
52        run: make
53      - name: make check
54        run: VERBOSE=1 make check
55      - name: store Apache logs
56        uses: actions/upload-artifact@v1
57        if: failure() || cancelled()
58        with:
59          name: ${{ env.artifact_prefix }}-apache-logs
60          path: test/logs/
61      - name: store test log if cancelled
62        uses: actions/upload-artifact@v1
63        if: cancelled()
64        with:
65          name: ${{ env.artifact_prefix }}-test-log
66          path: test/test-00_basic.log
67      - name: make distcheck
68        run: VERBOSE=1 make distcheck
Note: See TracBrowser for help on using the repository browser.