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

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

CI: Don't run Valgrind tests on Markdown-only changes outside doc/

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