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

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

CI: Ignore packaging branches for simple build

If anything they should have their own workflow.

  • Property mode set to 100644
File size: 3.1 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  debian-buster:
11    runs-on: ubuntu-latest
12    container: debian:buster
13    steps:
14      - uses: actions/checkout@v2
15      - name: network overview
16        run: |
17          ip addr show
18          cat /etc/hosts
19      - name: install dependencies
20        run: |
21          apt-get update
22          apt-get -y install python3-yaml apache2-bin apache2-dev curl gnutls-bin libapr1-dev libgnutls28-dev openssl pandoc pkg-config procps softhsm2
23      - name: autoreconf
24        run: autoreconf -fiv
25      - name: configure
26        run: TEST_IP=127.0.0.1 ./configure
27      - name: store config.log
28        uses: actions/upload-artifact@v1
29        if: failure()
30        with:
31          name: buster-config-log
32          path: config.log
33      - name: make
34        run: make
35      - name: set mutex
36        run: |
37          echo "Mutex sem default" >test/apache-conf/github_mutex.conf
38      - name: make check
39        run: VERBOSE=1 make check
40      - name: store Apache logs
41        uses: actions/upload-artifact@v1
42        if: failure() || cancelled()
43        with:
44          name: buster-apache-logs
45          path: test/logs/
46      - name: store test log if cancelled
47        uses: actions/upload-artifact@v1
48        if: cancelled()
49        with:
50          name: buster-test-log
51          path: test/test-00_basic.log
52  fedora-31:
53    runs-on: ubuntu-latest
54    container: fedora:31
55    steps:
56      - uses: actions/checkout@v2
57      - name: install dependencies
58        run: |
59          dnf -y group install "C Development Tools and Libraries"
60          dnf -y install curl gnutls-devel gnutls-utils httpd-devel iproute python3-pyyaml redhat-rpm-config softhsm
61      - name: network overview
62        run: |
63          ip addr show
64          cat /etc/hosts
65      - name: autoreconf
66        run: autoreconf -fiv
67      - name: configure
68        run: TEST_IP=127.0.0.1 ./configure
69      - name: store config.log
70        uses: actions/upload-artifact@v1
71        if: failure()
72        with:
73          name: fedora-config-log
74          path: config.log
75      - name: make
76        run: make
77      - name: set mutex
78        run: |
79          echo "Mutex sem default" >test/apache-conf/github_mutex.conf
80      - name: configure extra modules needed for Fedora
81        run: |
82          cat - >test/apache-conf/fedora.conf <<EOF
83          LoadModule  log_config_module  \${AP_LIBEXECDIR}/mod_log_config.so
84          LoadModule  logio_module       \${AP_LIBEXECDIR}/mod_logio.so
85          LoadModule  unixd_module       \${AP_LIBEXECDIR}/mod_unixd.so
86          EOF
87      - name: make check
88        run: VERBOSE=1 make check
89      - name: store Apache logs
90        uses: actions/upload-artifact@v1
91        if: failure() || cancelled()
92        with:
93          name: fedora-apache-logs
94          path: test/logs/
95      - name: store test log if cancelled
96        uses: actions/upload-artifact@v1
97        if: cancelled()
98        with:
99          name: fedora-test-log
100          path: test/test-00_basic.log
Note: See TracBrowser for help on using the repository browser.