Keep artifacts for the static-scan job

This commit is contained in:
Federico Mena Quintero 2024-07-26 16:10:26 -06:00
parent acb5e2e80a
commit dd4da92782

View file

@ -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 ]