mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-05 01:50:27 +01:00
Deploy the coverage report to gitlab pages
It should appear in https://cairo.pages.gitlab.freedesktop.org/coverage
This commit is contained in:
parent
744f4d75b3
commit
2366646d93
1 changed files with 14 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ stages:
|
|||
- prep
|
||||
- build
|
||||
- test
|
||||
- deploy
|
||||
|
||||
# Global CI policy: This can be used to configure global behaviour our our jobs
|
||||
default:
|
||||
|
|
@ -502,3 +503,16 @@ coverage:
|
|||
- "_build/meson-logs"
|
||||
- public
|
||||
|
||||
pages:
|
||||
stage: 'deploy'
|
||||
needs: [ coverage ]
|
||||
script:
|
||||
# No-op, just to gitlab thinks there's something to do.
|
||||
# The jobs that this job depends on have already populated public/
|
||||
- echo
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
# Restrict to the main branch so not every branch tries to deploy the web site
|
||||
- if: ($CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue