forked from OpenSC/OpenSC
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 764 Bytes
/
coverity.yml
File metadata and controls
28 lines (24 loc) · 764 Bytes
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
name: Coverity CI
# We only want to test master or explicitly via coverity branch
on:
push:
branches: [master, coverity]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-latest
env:
HAS_COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN != '' }}
steps:
- uses: actions/checkout@v4
- run: .github/setup-linux.sh force-install
- run: ./bootstrap
- run: ./configure --disable-dependency-tracking --enable-piv-sm
- uses: vapier/coverity-scan-action@v0
if: ${{ env.HAS_COVERITY_SCAN_TOKEN == 'true' }}
with:
project: OpenSC%2FOpenSC
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
email: 'viktor.tarasov@gmail.com'
command: 'make'