ci: Extract Coverity Scan tools in /tmp

this will prevent the tool from scanning itself
This commit is contained in:
Alexander Todorov 2021-11-12 12:34:32 +02:00 committed by jkozol
parent 1593402192
commit 6b951288c7

View file

@ -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"