source: mod_gnutls/.github/workflows/valgrind.yml @ e6bdae8

Last change on this file since e6bdae8 was e6bdae8, checked in by Fiona Klute <fiona.klute@…>, 2 months ago

CI: Set Mutex for Valgrind tests via ./configure instead of drop-in file

  • Property mode set to 100644
File size: 1.5 KB
Line 
1name: Valgrind memcheck
2on:
3  pull_request:
4  push:
5    # don't run on packaging branches
6    branches-ignore:
7      - 'for-debian'
8      - 'debian/**'
9      - 'pristine-tar'
10    paths:
11      - '**'
12      - '!doc/**'
13      - '!**.md'
14jobs:
15  debian-buster:
16    runs-on: ubuntu-latest
17    container: debian:buster
18    steps:
19      - uses: actions/checkout@v2
20      - name: network overview
21        run: |
22          ip addr show
23          cat /etc/hosts
24      - name: install dependencies
25        run: |
26          apt-get update
27          apt-get -y install python3-yaml apache2-bin apache2-dev curl gnutls-bin libapr1-dev libgnutls28-dev openssl pkg-config procps softhsm2 valgrind
28      - name: autoreconf
29        run: autoreconf -fiv
30      - name: configure
31        run: TEST_IP=127.0.0.1 APACHE_MUTEX=pthread ./configure --enable-valgrind-test
32      - name: store config.log
33        uses: actions/upload-artifact@v1
34        if: failure()
35        with:
36          name: buster-config-log
37          path: config.log
38      - name: make
39        run: make
40      - name: make check
41        run: VERBOSE=1 make check
42      - name: store Apache and Valgrind logs
43        uses: actions/upload-artifact@v1
44        if: failure() || cancelled()
45        with:
46          name: buster-apache-logs
47          path: test/logs/
48      - name: store test log if cancelled
49        uses: actions/upload-artifact@v1
50        if: cancelled()
51        with:
52          name: buster-test-log
53          path: test/test-00_basic.log
Note: See TracBrowser for help on using the repository browser.