File tree Expand file tree Collapse file tree 1 file changed +7
-24
lines changed
Expand file tree Collapse file tree 1 file changed +7
-24
lines changed Original file line number Diff line number Diff line change 3838 CC : gcc
3939 CXX : g++
4040 MAKEFLAGS : j4
41- TOKEN : qjcM1CWLcq9PJB3yL0ZXIw
41+ COVERITY_TOKEN : qjcM1CWLcq9PJB3yL0ZXIw
4242 steps :
4343 - name : Checkout
4444 uses : actions/checkout@v3
5555 - name : Configure
5656 run : cmake -Bbuild -DDOWNLOAD_GTEST=OFF
5757
58- - name : Download Coverity
59- run : |
60- wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=$GITHUB_REPOSITORY" -O cov-analysis-linux64.tar.gz
61- mkdir cov-analysis-linux64
62- tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
63-
64- - name : Build
65- run : |
66- set -x
67- export PATH="$PWD/cov-analysis-linux64/bin:$PATH"
68- cov-build --dir cov-int cmake --build build
69-
70- - name : Submit
71- run : |
72- tar czvf results.tgz cov-int
73- curl \
74- --form project=$GITHUB_REPOSITORY \
75- --form token=$TOKEN \
76- --form email=m.samsonov@computer.org \
77- --form file=@results.tgz \
78- --form version=$GITHUB_REF \
79- --form description=$GITHUB_SHA \
80- https://scan.coverity.com/builds?project=$GITHUB_REPOSITORY
58+ - name : Coverity Scan
59+ uses : vapier/coverity-scan-action@v1
60+ with :
61+ email : maxirmx@sw.consulting
62+ token : ${{ env.COVERITY_TOKEN }}
63+ command : cmake --build build
You can’t perform that action at this time.
0 commit comments