forked from pmem/libpmemobj-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 1.11 KB
/
coverity.yml
File metadata and controls
37 lines (31 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CPP-coverity
# It runs static analysis build - Coverity. It requires special token (set in CI's secret).
# Run this job at 00:00 UTC once a month; but also allow manual trigger.
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
env:
REPO: libpmemobj-cpp
GITHUB_REPO: pmem/libpmemobj-cpp
CONTAINER_REG: ghcr.io/pmem/libpmemobj-cpp
HOST_WORKDIR: ${{ github.workspace }}
WORKDIR: utils/docker
IMG_VER: latest
COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }}
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
jobs:
linux:
name: Linux-coverity
runs-on: ubuntu-latest
strategy:
matrix:
CONFIG: ["TYPE=coverity OS=ubuntu OS_VER=20.04"]
steps:
- name: Clone the git repo
uses: actions/checkout@v2
# coverity workflow should just reuse (pull) the most recent, available image
- name: Pull the image
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh pull
- name: Run the build
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./build.sh