Skip to content
Snippets Groups Projects
Commit 42a81a86 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Add coverity config to autobuild

parent 007325b1
No related branches found
No related tags found
No related merge requests found
......@@ -204,12 +204,12 @@ coverity_scan:
- source .venv/bin/activate
- pip3 install --upgrade autobuild -i https://ci-job-token:${CI_JOB_TOKEN}@git.alchemyviewer.org/api/v4/projects/54/packages/pypi/simple --extra-index-url https://pypi.org/simple
script:
- autobuild configure -c ReleaseOS -- -DLL_TESTS=OFF -DUSE_FMODSTUDIO=ON -DUSE_NVAPI=ON -DUSE_LTO=OFF -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
- autobuild configure -c Coverity -- -DLL_TESTS=OFF -DUSE_FMODSTUDIO=ON -DUSE_NVAPI=ON -DUSE_LTO=OFF -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
- autobuild build -c Coverity --no-configure
- |
pushd "build-linux-64"
cov-build --dir cov-int ninja
tar caf alchemyviewer.xz cov-int
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file alchemyviewer.xz "${CI_API_V4_URL}/projects/165/packages/generic/my_package/0.0.$CI_PIPELINE_ID/alchemyviewer.xz"
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file alchemyviewer.xz "${CI_API_V4_URL}/projects/165/packages/generic/coverity/0.0.$CI_PIPELINE_ID/alchemyviewer.xz"
popd
......
......@@ -2912,6 +2912,27 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>
<map>
<key>configurations</key>
<map>
<key>Coverity</key>
<map>
<key>configure</key>
<map>
<key>arguments</key>
<array>
<string>../indra</string>
</array>
<key>command</key>
<string>cmake</string>
<key>options</key>
<array>
<string>-DCMAKE_BUILD_TYPE:STRING=Release</string>
<string>-DADDRESS_SIZE:STRING=$AUTOBUILD_ADDRSIZE</string>
<string>-DROOT_PROJECT_NAME:STRING=Alchemy</string>
<string>-DINSTALL_PROPRIETARY=FALSE</string>
</array>
</map>
<key>name</key>
<string>Coverity</string>
</map>
<key>RelWithDebInfo</key>
<map>
<key>build</key>
......@@ -3004,6 +3025,38 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>
<string>build-darwin-64</string>
<key>configurations</key>
<map>
<key>Coverity</key>
<map>
<key>build</key>
<map>
<key>command</key>
<string>cov-build</string>
<key>options</key>
<array>
<string>--dir</string>
<string>cov-int</string>
<string>make</string>
<string>-j</string>
<string>$AUTOBUILD_CPU_COUNT</string>
</array>
</map>
<key>configure</key>
<map>
<key>arguments</key>
<array>
<string>../indra</string>
</array>
<key>command</key>
<string>cmake</string>
<key>options</key>
<array>
<string>-G</string>
<string>Unix Makefiles</string>
</array>
</map>
<key>name</key>
<string>Coverity</string>
</map>
<key>RelWithDebInfo</key>
<map>
<key>build</key>
......@@ -3124,6 +3177,32 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>
<string>build-linux-$AUTOBUILD_ADDRSIZE</string>
<key>configurations</key>
<map>
<key>Coverity</key>
<map>
<key>build</key>
<map>
<key>command</key>
<string>cov-build</string>
<key>options</key>
<array>
<string>--dir</string>
<string>cov-int</string>
<string>make</string>
<string>-j</string>
<string>$AUTOBUILD_CPU_COUNT</string>
</array>
</map>
<key>configure</key>
<map>
<key>options</key>
<array>
<string>-G</string>
<string>Unix Makefiles</string>
</array>
</map>
<key>name</key>
<string>Coverity</string>
</map>
<key>RelWithDebInfo</key>
<map>
<key>build</key>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment