source: mod_gnutls/.github/workflows/analysis.yaml @ 51b8964

asyncio
Last change on this file since 51b8964 was 51b8964, checked in by Fiona Klute <fiona.klute@…>, 12 months ago

Use DEBIAN_FRONTEND=noninteractive for package installation

  • Property mode set to 100644
File size: 1.5 KB
Line 
1name: Analysis
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
15jobs:
16  clang:
17    runs-on: ubuntu-20.04
18    container: debian:sid
19    name: clang-analyzer
20    steps:
21      - uses: actions/checkout@v2
22      - name: install dependencies
23        run: |
24          export DEBIAN_FRONTEND=noninteractive
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 clang-10 clang-tools-10 libmsv-dev
27      - name: find usable IPs for tests
28        run: |
29          echo "test_ips=$(python3 test/check_test_ips.py -H localhost)" >> ${GITHUB_ENV}
30      - name: autoreconf
31        run: autoreconf -fiv
32      - name: configure
33        run: scan-build-10 --use-cc=clang-10 ./configure --enable-msva TEST_IP="${test_ips}" APACHE_MUTEX=pthread
34      - name: store config.log
35        uses: actions/upload-artifact@v2
36        if: failure()
37        with:
38          name: scan-build-config-log
39          path: config.log
40      - name: make
41        run: scan-build-10 -sarif -o sarif-output --use-cc=clang-10 make
42      - name: Find output directory
43        run: |
44          echo "SARIF_DIR=$(ls -d sarif-output/*)" >> ${GITHUB_ENV}
45      - name: Upload SARIF results
46        uses: github/codeql-action/upload-sarif@v1
47        with:
48          sarif_file: ${{ env.SARIF_DIR }}
Note: See TracBrowser for help on using the repository browser.