mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 15:08:02 +02:00
CI: Add a job for static analysis
We add this in a new 'analysis' stage in the CI, which is where we'll put jobs for sanitizers, test coverage reports, etc.
This commit is contained in:
parent
e6e76c5c25
commit
acb5e2e80a
1 changed files with 13 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ variables:
|
|||
|
||||
stages:
|
||||
- prep
|
||||
- analysis
|
||||
- build
|
||||
- test
|
||||
- analysis
|
||||
|
|
@ -504,6 +505,18 @@ coverage:
|
|||
- "_build/meson-logs"
|
||||
- public
|
||||
|
||||
# Run static analysis.
|
||||
static-scan:
|
||||
stage: 'analysis'
|
||||
extends:
|
||||
- '.fdo.distribution-image@fedora'
|
||||
variables:
|
||||
MESON_ARGS: >
|
||||
--buildtype=debug
|
||||
script:
|
||||
- meson setup ${MESON_ARGS} builddir .
|
||||
- ninja -C builddir scan-build
|
||||
|
||||
pages:
|
||||
stage: 'deploy'
|
||||
needs: [ coverage ]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue