Changeset e2c0c62 in mod_gnutls


Ignore:
Timestamp:
Jun 27, 2020, 4:07:23 AM (7 days ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
30b23d6
Parents:
44323c0
Message:

CI: Build coverage report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .github/workflows/build.yml

    r44323c0 re2c0c62  
    7373      - name: make distcheck
    7474        run: VERBOSE=1 make distcheck
     75
     76  coverage:
     77    runs-on: ubuntu-latest
     78    container: debian:sid
     79    name: coverage
     80    steps:
     81      - uses: actions/checkout@v2
     82      - name: install dependencies
     83        run: |
     84          apt-get update
     85          apt-get -y install python3-yaml apache2-bin apache2-dev curl gnutls-bin libapr1-dev libgnutls28-dev openssl pkg-config procps softhsm2 clang llvm
     86      - name: network overview
     87        run: |
     88          ip addr show
     89          cat /etc/hosts
     90      - name: find usable IPs for tests
     91        run: |
     92          echo "::set-env name=test_ips::$(python3 test/check_test_ips.py -H localhost)"
     93      - name: autoreconf
     94        run: autoreconf -fiv
     95      - name: configure
     96        run: CC=clang TEST_IP="${test_ips}" APACHE_MUTEX=pthread ./configure --enable-clang-coverage
     97      - name: store config.log
     98        uses: actions/upload-artifact@v1
     99        if: failure()
     100        with:
     101          name: coverage-config-log
     102          path: config.log
     103      - name: make
     104        run: make
     105      - name: make check
     106        run: VERBOSE=1 make check
     107      - name: store Apache logs
     108        uses: actions/upload-artifact@v2
     109        if: failure() || cancelled()
     110        with:
     111          name: coverage-apache-logs
     112          path: test/logs/
     113      - name: store test logs
     114        uses: actions/upload-artifact@v2
     115        if: failure() || cancelled()
     116        with:
     117          name: coverage-test-logs
     118          path: test/test-*.log
     119      - name: generate coverage report
     120        working-directory: ./test
     121        run: make coverage
     122      - name: store coverage report
     123        uses: actions/upload-artifact@v2
     124        with:
     125          name: coverage-report
     126          path: test/coverage/
Note: See TracChangeset for help on using the changeset viewer.