File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 2828permissions : write-all
2929
3030env :
31- BUILD_CONCURRENCY : 2
31+ BUILD_CONCURRENCY : 4
3232 COVERITY_PROJECT : oneapi-src%2FoneTBB
3333
3434jobs :
3939 - uses : actions/checkout@v3
4040 - name : Download Linux 64 Coverity Tool
4141 run : |
42- curl -L https://scan.coverity.com/download/cxx/linux64 > ${GITHUB_WORKSPACE}/cov-linux64-tool.tar.gz \
43- --data "token=${{secrets.COVERITY_TOKEN}}&project=${env: COVERITY_PROJECT}"
42+ curl https://scan.coverity.com/download/cxx/linux64 --output ${GITHUB_WORKSPACE}/cov-linux64-tool.tar.gz \
43+ --data "token=${{secrets.COVERITY_TOKEN}}&project=${{ env. COVERITY_PROJECT} }"
4444 ls -l ${GITHUB_WORKSPACE}
45- pwd
4645 mkdir cov-linux64-tool
4746 tar -xzf cov-linux64-tool.tar.gz --strip 1 -C cov-linux64-tool
4847 - name : Build with cov-build
5150 mkdir build && cd build
5251 cmake -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=relwithdebinfo \
5352 -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DTBB_CPF=ON ..
54- cov-build --dir cov-int make VERBOSE=1 -j${BUILD_CONCURRENCY}
53+ cov-build --dir cov-int make VERBOSE=1 -j${{env. BUILD_CONCURRENCY} }
5554 - name : Archive Coverity build results
56- run : tar -czvf cov-int.tgz cov-int
55+ run : tar -czvf cov-int.tgz build/ cov-int
5756 - name : Submit Coverity results for analysis
5857 run : |
5958 echo GITHUB_SHA_SHORT=${GITHUB_SHA::8} >> $GITHUB_ENV
63626463 --form version="${{ inputs.version }}" \
6564 --form description="oneTBB-master-${{ env.GITHUB_SHA_SHORT }}" \
66- "https://scan.coverity.com/builds?project=${env: COVERITY_PROJECT}"
65+ "https://scan.coverity.com/builds?project=${{ env. COVERITY_PROJECT} }"
You can’t perform that action at this time.
0 commit comments