0
0
mirror of https://github.com/schwabe/ics-openvpn.git synced 2024-09-19 19:42:29 +02:00

Update coverity script

This commit is contained in:
Arne Schwabe 2021-08-12 22:22:31 +02:00
parent 9c7285a5d2
commit e530ceb639

View File

@ -1,11 +1,16 @@
#!/bin/bash -xe
export PATH=$PATH:/Applications/cov-analysis-macosx-2020.09/bin
export PATH=$PATH:/Applications/cov-analysis-macosx-2021.03/bin
if [ -n ${COVERITY_CONNECT_HOST} ]; then
if [ -z "${COVERITY_CONNECT_HOST}" ]; then
echo COVERITY_CONNECT_HOST not set
exit 1
fi
cov-configure --config .coverity/cfg.xml --clang
cov-configure --config .coverity/cfg.xml --android
cov-configure --config .coverity/cfg.xml --kotlin
cov-configure --config .coverity/cfg.xml --java
./gradlew -b build.gradle.kts --no-daemon clean
cov-build --dir .coverity/idir --config .coverity/cfg.xml ./gradlew -b build.gradle.kts --no-daemon assembleUiRelease