CI: Add a static-scan job
This will run static analysis and publish the report on https://gnome.pages.gitlab.gnome.org/gnome-calendar/scanbuild
This commit is contained in:
+17
-2
@@ -72,10 +72,25 @@ coverage:
|
||||
paths:
|
||||
- "_build/meson-logs"
|
||||
- public
|
||||
|
||||
|
||||
static-scan:
|
||||
stage: analysis
|
||||
image: quay.io/gnome_infrastructure/gnome-build-meta:core-nightly
|
||||
needs:
|
||||
- job: build-flatpak
|
||||
artifacts: false
|
||||
script:
|
||||
- .gitlab-ci/build-static-scan.sh
|
||||
artifacts:
|
||||
name: "gnome-calendar-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||
when: always
|
||||
paths:
|
||||
- "_build/meson-logs"
|
||||
- public
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
needs: [ coverage ]
|
||||
needs: [ coverage, static-scan ]
|
||||
script:
|
||||
# No-op, just to gitlab thinks there's something to do.
|
||||
# The jobs that this job depends on have already populated public/
|
||||
|
||||
Reference in New Issue
Block a user