Skip to content

Coverity Scan

Coverity Scan #104

Workflow file for this run

# GitHub actions workflow.
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
# https://scan.coverity.com/projects/libspdm
name: Coverity Scan
on:
schedule:
- cron: '00 8 * * *'
workflow_dispatch:
jobs:
coverity:
strategy:
matrix:
os: [ubuntu-latest]
cc: [gcc]
runs-on: ${{ matrix.os }}
env:
CC: ${{ matrix.cc }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: CMake
run: |
cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Debug -DCRYPTO=mbedtls -B ${{github.workspace}}/build
- uses: vapier/coverity-scan-action@v1
with:
email: ${{ vars.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
command: make -C ${{github.workspace}}/build