source: mod_gnutls/.github/workflows/valgrind.yml @ 732cdb11

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

CI: Run Valgrind tests

  • 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/**'
12jobs:
13  debian-buster:
14    runs-on: ubuntu-latest
15    container: debian:buster
16    steps:
17      - uses: actions/checkout@v2
18      - name: network overview
19        run: |
20          ip addr show
21          cat /etc/hosts
22      - name: install dependencies
23        run: |
24          apt-get update
25          apt-get -y install python3-yaml apache2-bin apache2-dev curl gnutls-bin libapr1-dev libgnutls28-dev openssl pkg-config procps softhsm2 valgrind
26      - name: autoreconf
27        run: autoreconf -fiv
28      - name: configure
29        run: TEST_IP=127.0.0.1 ./configure --enable-valgrind-test
30      - name: store config.log
31        uses: actions/upload-artifact@v1
32        if: failure()
33        with:
34          name: buster-config-log
35          path: config.log
36      - name: make
37        run: make
38      - name: set mutex
39        run: |
40          echo "Mutex pthread default" >test/apache-conf/github_mutex.conf
41      - name: make check
42        run: VERBOSE=1 make check
43      - name: store Apache and Valgrind logs
44        uses: actions/upload-artifact@v1
45        if: failure() || cancelled()
46        with:
47          name: buster-apache-logs
48          path: test/logs/
49      - name: store test log if cancelled
50        uses: actions/upload-artifact@v1
51        if: cancelled()
52        with:
53          name: buster-test-log
54          path: test/test-00_basic.log
Note: See TracBrowser for help on using the repository browser.