Skip to content

Commit f2c791e

Browse files
Tools: add script for local Coverity builds.
1 parent 3e9b9a8 commit f2c791e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tools/coverity.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
BASE=/tmp/libswoc
2+
COV="/home/amc/opt/coverity/cov-analysis-linux64-2022.12.2/bin"
3+
4+
rm -rf ${BASE}
5+
cd /tmp
6+
git clone git@github.com:solidwallofcode/libswoc
7+
cd libswoc
8+
cmake . -B build
9+
PATH="$COV:$PATH" $COV/cov-build --dir cov-int cmake --build build --target libswoc
10+
tar czvf /tmp/libswoc.tgz cov-int

0 commit comments

Comments
 (0)