source: mod_gnutls/.github/workflows/valgrind.yaml @ 866273c

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

CI: Limit workflow permissions

  • 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'
14
15permissions:
16  contents: read
17
18jobs:
19  debian-buster:
20    runs-on: ubuntu-latest
21    container: debian:buster
22    steps:
23      - uses: actions/checkout@v2
24      - name: network overview
25        run: |
26          ip addr show
27          cat /etc/hosts
28      - name: install dependencies
29        run: |
30          export DEBIAN_FRONTEND=noninteractive
31          apt-get update
32          apt-get -y install python3-yaml apache2-bin apache2-dev curl gnutls-bin libapr1-dev libgnutls28-dev openssl pkg-config procps softhsm2 valgrind
33      - name: find usable IPs for tests
34        run: |
35          echo "test_ips=$(python3 test/check_test_ips.py -H localhost)" >> ${GITHUB_ENV}
36      - name: autoreconf
37        run: autoreconf -fiv
38      - name: configure
39        run: TEST_IP="${test_ips}" APACHE_MUTEX=pthread ./configure --enable-valgrind-test
40      - name: store config.log
41        uses: actions/upload-artifact@v2
42        if: failure()
43        with:
44          name: buster-config-log
45          path: config.log
46      - name: make
47        run: make -j4
48      - name: make check
49        run: VERBOSE=1 make -j4 check
50      - name: store test logs
51        uses: actions/upload-artifact@v2
52        if: failure() || cancelled()
53        with:
54          name: buster-apache-logs
55          path: |
56            test/test-*.log
57            test/logs/
Note: See TracBrowser for help on using the repository browser.