diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2021-11-10 12:07:31 +0100 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2021-11-10 12:07:31 +0100 |
commit | 3f60b586b1f61c665566b6599c7157cbdd47b615 (patch) | |
tree | 5855d4a8077e0b4311a332f11195da3f43bb4646 /.gitlab-ci.yml | |
parent | 4b37fbab6bbd1785cde630df7a992dcd166434b7 (diff) | |
download | gcr-3f60b586b1f61c665566b6599c7157cbdd47b615.tar.gz |
ci: Update artifact paths
Publish the coverage under its own subfolder.
Publish the documentation too.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index add9e11..92e98d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ stages: - deploy variables: - DEPENDENCIES: dbus-daemon diffutils gcc libsecret-devel meson ninja-build openssh openssh-clients python redhat-rpm-config systemd-devel + DEPENDENCIES: dbus-daemon diffutils gcc gi-docgen libsecret-devel meson ninja-build openssh openssh-clients python redhat-rpm-config systemd-devel fedora:Werror: image: fedora:latest @@ -74,6 +74,10 @@ fedora:coverage: - ninja coverage-html -C _build coverage: '/^\s+lines.+:\s+([\d.]+\%)\s+/' artifacts: + name: "gcr-docs-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" + paths: + - _build/docs/ + artifacts: name: "gcr-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" paths: - _build/meson-logs/coveragereport/ @@ -90,7 +94,8 @@ pages: - master needs: ['fedora:coverage'] script: - - mv _build/meson-logs/coveragereport/ public/ + - mv _build/meson-logs/coveragereport public/coverage + - mv _build/meson-logs/coveragereport public/ artifacts: when: on_success paths: |