-
-
Notifications
You must be signed in to change notification settings - Fork 82
33 lines (30 loc) · 947 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
name: Coverity Scan
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container: catalinii/minisatip-build-image:latest
steps:
- uses: actions/checkout@v4
- name: configure
run: ./configure
- name: Coverity Scan
run: |
make clean
/cov-analysis-linux64/bin/cov-build --dir cov-int make
tar czvf MINISATIP.tgz cov-int
curl \
--form project=$PROJECT \
--form token=$(cat /etc/coverity) \
--form email='reply+AB6SAEPNLEJSCE2WJ37GDNF6TC2NXEVBNHHDIEHQTY@reply.github.com' \
--form [email protected] \
--form version=trunk \
--form description="`git log -1 --pretty=format:%h`" \
https://scan.coverity.com/builds?project=$PROJECT
env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
PROJECT: minisatip2