File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,19 @@ name: coverity
33on :
44 push :
55 branches : [ coverity ]
6+ pull_request :
7+ branches : [ master ]
68
79jobs :
810 scan :
911 runs-on : ubuntu-20.04
1012 env :
1113 TOKEN : ${{ secrets.COVERITY_SCAN_TOKEN }}
1214 WITH_AOM : 1
15+ WITH_DAV1D : 1
1316 WITH_GRAPHICS : 1
1417 WITH_LIBDE265 : 1
18+ WITH_RAV1E : 1
1519 WITH_X265 : 1
1620 steps :
1721 - uses : actions/checkout@v4
2125 with :
2226 path : |
2327 coverity_tool.tar.gz
24- key : ${{ runner.os }}
28+ key : coverity_tool- ${{ runner.os }}
2529
2630 - name : Download Coverity build tool
2731 run : |
@@ -39,10 +43,13 @@ jobs:
3943
4044 - name : Build with Coverity build tool
4145 run : |
42- export PATH=`pwd`/coverity_tool/bin:$PATH
43- cov-build --dir cov-int make
46+ export PATH=$(pwd)/coverity_tool/bin:$PATH
47+ export PKG_CONFIG_PATH="$(pwd)/libde265/dist/lib/pkgconfig/:$(pwd)/third-party/rav1e/dist/lib/pkgconfig/:$(pwd)/third-party/dav1d/dist/lib/x86_64-linux-gnu/pkgconfig/"
48+ cmake --preset=develop .
49+ cov-build --dir cov-int make -j$(nproc)
4450
4551 - name : Submit build result to Coverity Scan
52+ if : github.ref == 'refs/heads/coverity'
4653 run : |
4754 tar czvf libheif.tar.gz cov-int
4855 curl --form token=$TOKEN \
You can’t perform that action at this time.
0 commit comments