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@…>, 21 months ago

CI: Add a Debian Sid (unstable) build

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