ci: Extract Coverity Scan tools in /tmp
this will prevent the tool from scanning itself
This commit is contained in:
parent
1593402192
commit
6b951288c7
1 changed files with 2 additions and 2 deletions
4
.github/workflows/coverity_scan.yml
vendored
4
.github/workflows/coverity_scan.yml
vendored
|
|
@ -23,10 +23,10 @@ jobs:
|
|||
curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 \
|
||||
--form project="$COVERITY_SCAN_PROJECT_NAME" \
|
||||
--form token="$COVERITY_SCAN_TOKEN"
|
||||
tar xzvf /tmp/cov-analysis-linux64.tgz
|
||||
pushd /tmp && tar xzvf cov-analysis-linux64.tgz && popd
|
||||
|
||||
mkdir bin
|
||||
./cov-analysis-linux64-*/bin/cov-build --dir cov-int --no-command --fs-capture-search ./
|
||||
/tmp/cov-analysis-linux64-*/bin/cov-build --dir cov-int --no-command --fs-capture-search ./
|
||||
tar czvf cov-int.tar.gz cov-int
|
||||
|
||||
echo "Uploading coverity scan result to http://scan.coverity.com"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue