mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 23:28:07 +02:00
Keep artifacts for the static-scan job
This commit is contained in:
parent
acb5e2e80a
commit
dd4da92782
1 changed files with 17 additions and 12 deletions
|
|
@ -481,6 +481,23 @@ macOS x86 host:
|
|||
- export CAIRO_TEST_TARGET=quartz
|
||||
- (cd build/test && srcdir=../../test ./cairo-test-suite)
|
||||
|
||||
# Run static analysis.
|
||||
static-scan:
|
||||
stage: 'analysis'
|
||||
extends:
|
||||
- '.fdo.distribution-image@fedora'
|
||||
variables:
|
||||
MESON_ARGS: >
|
||||
--buildtype=debug
|
||||
script:
|
||||
- meson setup ${MESON_ARGS} _scan_build .
|
||||
- ninja -C _scan_build scan-build
|
||||
artifacts:
|
||||
name: "cairo-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||
when: always
|
||||
paths:
|
||||
- "_scan_build/meson-logs/scanbuild"
|
||||
|
||||
coverage:
|
||||
stage: 'analysis'
|
||||
extends:
|
||||
|
|
@ -505,18 +522,6 @@ 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