forked from DMTF/libspdm
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 863 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
# 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