Skip to content

Commit 207ac14

Browse files
committed
Create build dir and cd to it to archive coverity results
1 parent 7133067 commit 207ac14

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/coverity.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,17 @@ jobs:
4747
- name: Build with cov-build
4848
run: |
4949
export PATH="${PWD}/cov-linux64-tool/bin:${PATH}"
50+
mkdir build && cd build
5051
cmake -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=relwithdebinfo \
51-
-DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DTBB_CPF=ON -DTBB_TEST=OFF .
52+
-DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DTBB_CPF=ON -DTBB_TEST=OFF ..
5253
cov-build --dir cov-int make VERBOSE=1 -j${{env.BUILD_CONCURRENCY}}
5354
- name: Archive Coverity build results
54-
run: tar -czvf cov-int.tgz cov-int
55+
run: |
56+
cd build
57+
tar -czvf cov-int.tgz cov-int
5558
- name: Submit Coverity results for analysis
5659
run: |
60+
cd build
5761
curl \
5862
--form token="${{ secrets.COVERITY_TOKEN }}" \
5963
--form email="${{ secrets.COVERITY_EMAIL }}" \

0 commit comments

Comments
 (0)