-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 1011 Bytes
/
coverity.yml
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
name: coverity check
on:
workflow_dispatch: {}
schedule:
- cron: "30 12 */2 * *"
jobs:
coverity:
runs-on: ubuntu-latest
container:
image: ghcr.io/rauc/rauc/rauc-ci:latest
options: --user=root
steps:
- uses: actions/checkout@v3
- run: |
PLATFORM=`uname`
export TOOL_BASE="/tmp/coverity-scan-analysis"
export SCAN_URL="https://scan.coverity.com"
export UPLOAD_URL="https://scan.coverity.com/builds"
export TOOL_ARCHIVE="/tmp/cov-analysis-${PLATFORM}.tgz"
export COVERITY_SCAN_PROJECT_NAME="${{ github.repository }}"
export COVERITY_SCAN_NOTIFICATION_EMAIL="[email protected]"
export COVERITY_SCAN_BUILD_COMMAND="meson compile -C build"
export COVERITY_SCAN_TOKEN="${{ secrets.COVERITY_SCAN_TOKEN }}"
test/get-coverity.sh
gcc --version
meson setup build -Dgpt=enabled
# Run Coverity Analysis
test/run-coverity.sh build
test/run-coverity.sh upload