File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- # Coverity check
1+ # Coverity - static analysis build. It requires Coverity's token (set in CI's secret).
22name : Coverity
33
44on :
77 cov_push_tarball :
88 description : ' Send Coverity tarball'
99 required : true
10- default : ' true'
10+ default : true
1111 type : boolean
1212 schedule :
1313 - cron : ' 0 0 * * *'
@@ -18,7 +18,7 @@ permissions:
1818jobs :
1919 coverity :
2020 name : Coverity
21- # run only on upstream; forks do not know Username/Password
21+ # run only on upstream; forks don't have token for upstream's cov project
2222 if : github.repository == 'oneapi-src/unified-memory-framework'
2323 runs-on : ubuntu-latest
2424 steps :
@@ -35,11 +35,11 @@ jobs:
3535
3636 - name : Download Coverity
3737 run : |
38- wget -nv https://scan.coverity.com/download/linux64 --post-data "token=${{ secrets.COVERITY_SCAN_TOKEN }}&project=oneapi-src%2Funified-memory-framework" -O coverity_tool.tgz
38+ wget -O coverity_tool.tgz -nv https://scan.coverity.com/download/linux64 \
39+ --post-data "token=${{ secrets.COVERITY_SCAN_TOKEN }}&project=oneapi-src%2Funified-memory-framework"
3940
4041 - name : Extract Coverity
41- run : |
42- tar xzf coverity_tool.tgz
42+ run : tar xzf coverity_tool.tgz
4343
4444 - name : Configure CMake
4545 run : >
6060 cov-build --dir ${{github.workspace}}/cov-int cmake --build ${{github.workspace}}/build --config Release -j$(nproc)
6161
6262 - name : Create tarball to analyze
63- run : >
64- tar czvf cov-int_umf.tgz cov-int
63+ run : tar czvf cov-int_umf.tgz cov-int
6564
6665 - name : Push to Coverity Scan
6766 if : ${{ github.event_name == 'schedule' || github.event.inputs.cov_push_tarball == 'true' }}
You can’t perform that action at this time.
0 commit comments