source: mod_gnutls/.github/workflows/build.yml @ 4f81704

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

CI: Use "pthread" mutex for non-Valgrind builds, too

I've switched the Valgrind run to "pthread" instead of "sem" to avoid
a leak during semaphore creation (outside mod_gnutls), and I see no
reason not to use it in general.

  • Property mode set to 100644
File size: 2.7 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 pthread 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 pthread default" >test/apache-conf/github_mutex.conf
80      - name: make check
81        run: VERBOSE=1 make check
82      - name: store Apache logs
83        uses: actions/upload-artifact@v1
84        if: failure() || cancelled()
85        with:
86          name: fedora-apache-logs
87          path: test/logs/
88      - name: store test log if cancelled
89        uses: actions/upload-artifact@v1
90        if: cancelled()
91        with:
92          name: fedora-test-log
93          path: test/test-00_basic.log
Note: See TracBrowser for help on using the repository browser.