-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try using vapier/coverity-scan-action
- Loading branch information
Showing
1 changed file
with
5 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,29 +9,10 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} | ||
PROJECT: minisatip2 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: configure | ||
run: ./configure | ||
- name: Install Coverity Scan | ||
run: | | ||
mkdir cov-analysis-linux64 | ||
wget https://scan.coverity.com/download/cxx/linux64 --post-data "token=${TOKEN}&project=${PROJECT}" -O cov-analysis-linux64.tar.gz | ||
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64 | ||
- name: Run 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 | ||
- uses: vapier/coverity-scan-action@v1 | ||
with: | ||
project: minisatip2 | ||
token: ${{ secrets.COVERITY_SCAN_TOKEN }} | ||
email: reply+AB6SAEPNLEJSCE2WJ37GDNF6TC2NXEVBNHHDIEHQTY@reply.github.com |