source: mod_gnutls/.github/workflows/build.yml @ d7ae3ed

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

Update Fedora CI build to Fedora 32

  • Property mode set to 100644
File size: 2.0 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: autoreconf
38        run: autoreconf -fiv
39      - name: configure
40        run: TEST_IP=127.0.0.1 APACHE_MUTEX=pthread ./configure
41      - name: store config.log
42        uses: actions/upload-artifact@v1
43        if: failure()
44        with:
45          name: ${{ matrix.container }}-config-log
46          path: config.log
47      - name: make
48        run: make
49      - name: make check
50        run: VERBOSE=1 make check
51      - name: store Apache logs
52        uses: actions/upload-artifact@v1
53        if: failure() || cancelled()
54        with:
55          name: ${{ matrix.container }}-apache-logs
56          path: test/logs/
57      - name: store test log if cancelled
58        uses: actions/upload-artifact@v1
59        if: cancelled()
60        with:
61          name: ${{ matrix.container }}-test-log
62          path: test/test-00_basic.log
63      - name: make distcheck
64        run: VERBOSE=1 make distcheck
Note: See TracBrowser for help on using the repository browser.