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

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

Pass TEST_IP and TEST_HOST to "make distcheck"

This should allow distcheck to work in the IPv4 CI containers.

  • 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          - 'fedora:31'
16    runs-on: ubuntu-latest
17    container: ${{ matrix.container }}
18    name: ${{ matrix.container }}
19    steps:
20      - uses: actions/checkout@v2
21      - name: install dependencies (Debian)
22        if: startsWith(matrix.container, 'debian')
23        run: |
24          apt-get update
25          apt-get -y install python3-yaml apache2-bin apache2-dev curl gnutls-bin libapr1-dev libgnutls28-dev openssl pandoc pkg-config procps softhsm2
26      - name: install dependencies (Fedora)
27        if: startsWith(matrix.container, 'fedora')
28        run: |
29          dnf -y group install "C Development Tools and Libraries"
30          dnf -y install curl gnutls-devel gnutls-utils httpd-devel iproute python3-pyyaml redhat-rpm-config softhsm
31      - name: network overview
32        run: |
33          ip addr show
34          cat /etc/hosts
35      - name: autoreconf
36        run: autoreconf -fiv
37      - name: configure
38        run: TEST_IP=127.0.0.1 ./configure
39      - name: store config.log
40        uses: actions/upload-artifact@v1
41        if: failure()
42        with:
43          name: ${{ matrix.container }}-config-log
44          path: config.log
45      - name: make
46        run: make
47      - name: set mutex
48        run: |
49          echo "Mutex pthread default" >test/apache-conf/github_mutex.conf
50      - name: make check
51        run: VERBOSE=1 make check
52      - name: store Apache logs
53        uses: actions/upload-artifact@v1
54        if: failure() || cancelled()
55        with:
56          name: ${{ matrix.container }}-apache-logs
57          path: test/logs/
58      - name: store test log if cancelled
59        uses: actions/upload-artifact@v1
60        if: cancelled()
61        with:
62          name: ${{ matrix.container }}-test-log
63          path: test/test-00_basic.log
64      - name: make distcheck
65        run: VERBOSE=1 make distcheck
Note: See TracBrowser for help on using the repository browser.