comparison mupdf-source/thirdparty/harfbuzz/.github/workflows/coverity-scan.yml @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 name: coverity-scan
2
3 on:
4 schedule:
5 - cron: '0 10 * * *' # Daily at 10:00 UTC
6
7 permissions:
8 contents: read
9
10 jobs:
11 latest:
12 runs-on: ubuntu-latest
13 steps:
14 - uses: actions/checkout@v3
15
16 - run: sudo apt-get install gcc clang wget git curl pkg-config libfreetype6-dev libglib2.0-dev libicu-dev libgraphite2-dev
17
18 - name: Download Coverity
19 run: |
20 wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=HarfBuzz" -O cov-analysis-linux64.tar.gz
21 mkdir cov-analysis-linux64
22 tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
23 env:
24 TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
25
26 # ideally we should've used meson and ninja here but it complains about coverage or something
27 - run: cov-analysis-linux64/bin/cov-build --dir cov-int clang src/hb-*.cc -DHAVE_FREETYPE -DHAVE_GRAPHITE2 -DHAVE_GLIB -DHAVE_ICU `pkg-config --cflags freetype2 graphite2 glib-2.0 icu-uc` -DHAVE_ROUNDF -DHAVE_SYS_MMAN_H -DHAVE_UNISTD_H -DHAVE_GETPAGESIZE -DHB_EXPERIMENTAL_API -c
28
29 - run: tar czvf harfbuzz.tgz cov-int
30
31 - name: submit to coverity
32 run: |
33 curl \
34 --form project=HarfBuzz \
35 --form token=$TOKEN \
36 --form email=harfbuzz-bots-chatter@googlegroups.com \
37 --form file=@harfbuzz.tgz \
38 --form version=trunk \
39 --form description="`git rev-parse --short HEAD`" \
40 https://scan.coverity.com/builds?project=HarfBuzz
41 env:
42 TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}