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

asynciomain
Last change on this file since b14f6ae was b14f6ae, checked in by Fiona Klute <fiona.klute@…>, 3 years ago

CI: Run on pull_request events

  • Property mode set to 100644
File size: 1.6 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 ./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: set mutex
41        run: |
42          echo "Mutex pthread default" >test/apache-conf/github_mutex.conf
43      - name: make check
44        run: VERBOSE=1 make check
45      - name: store Apache and Valgrind logs
46        uses: actions/upload-artifact@v1
47        if: failure() || cancelled()
48        with:
49          name: buster-apache-logs
50          path: test/logs/
51      - name: store test log if cancelled
52        uses: actions/upload-artifact@v1
53        if: cancelled()
54        with:
55          name: buster-test-log
56          path: test/test-00_basic.log
Note: See TracBrowser for help on using the repository browser.