Skip to content

coverity check

coverity check #11

Workflow file for this run

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