source: mod_gnutls/.github/workflows/build.yml @ 0be2505

asynciomainproxy-ticket
Last change on this file since 0be2505 was 0be2505, checked in by Fiona Klute <fiona.klute@…>, 3 years ago

Nice names for log storage actions

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