[ci] enable more on coverity
This commit is contained in:
parent
ace202e17e
commit
d63ee13a2a
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
name: coverity-scan
|
name: coverity-scan
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 10 * * *' # Daily at 10:00 UTC
|
- cron: '0 10 * * *' # Daily at 10:00 UTC
|
||||||
|
@ -10,7 +10,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- run: sudo apt-get install gcc wget git curl
|
- run: sudo apt-get install gcc wget git curl pkg-config libfreetype6-dev libglib2.0-dev libicu-dev libgraphite2-dev
|
||||||
|
|
||||||
- name: Download Coverity
|
- name: Download Coverity
|
||||||
run: |
|
run: |
|
||||||
|
@ -20,7 +20,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||||
|
|
||||||
- run: cov-analysis-linux64/bin/cov-build --dir cov-int gcc src/hb-*.cc -c -DHB_NO_MT
|
# ideally we should've used meson and ninja here but it complains about coverage or something
|
||||||
|
- run: cov-analysis-linux64/bin/cov-build --dir cov-int gcc src/hb-*.cc -DHAVE_FREETYPE -DHAVE_GRAPHITE2 -DHAVE_GLIB -DHAVE_ICU `pkg-config --cflags freetype2 graphite2 glib-2.0 icu-uc` -DHAVE_INTEL_ATOMIC_PRIMITIVES -DHAVE_ROUNDF -DHAVE_SYS_MMAN_H -DHAVE_UNISTD_H -DHAVE_GETPAGESIZE -c
|
||||||
|
|
||||||
- run: tar czvf harfbuzz.tgz cov-int
|
- run: tar czvf harfbuzz.tgz cov-int
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue