Debian Codegraph @

src/deps/miniasync/.github/workflows/coverity.yml

raw
1
2 name: miniasync-coverity
3 # It runs static analysis build - Coverity. It requires special token (set in CI's secret).
4
5 on:
6 schedule:
7 # run this job at 00:00 UTC everyday
8 - cron: '0 0 * * *'
9
10 env:
11 REPO: miniasync
12 GITHUB_REPO: pmem/miniasync
13 DOCKER_REPO: ghcr.io/pmem/miniasync
14 HOST_WORKDIR: ${{ github.workspace }}
15 WORKDIR: utils/docker
16 IMG_VER: latest
17 COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }}
18 COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
19
20 jobs:
21 linux:
22 name: Linux-coverity
23 runs-on: ubuntu-latest
24 strategy:
25 matrix:
26 CONFIG: ["TYPE=coverity OS=ubuntu OS_VER=21.04"]
27 steps:
28 - name: Clone the git repo
29 uses: actions/checkout@v2
30
31 # coverity workflow should just reuse (pull) the most recent, available image
32 - name: Pull the image
33 run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh pull
34
35 - name: Run the build
36 run: cd $WORKDIR && ${{ matrix.CONFIG }} ./build.sh