diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2021-11-10 12:07:31 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2022-06-28 14:22:39 +0200 |
commit | 0f1b6d2ee0be61b69e9d4d4d2c6c1627821476bf (patch) | |
tree | 17b9136676274aaf1eecd8a97e96695a2edeb2b2 | |
parent | bc42fd1ce54ad2c55d3815c6b0ac31ec2a93377a (diff) | |
download | gcr-0f1b6d2ee0be61b69e9d4d4d2c6c1627821476bf.tar.gz |
ci: Update artifact paths
Publish the coverage under its own subfolder.
Publish the documentation too.
-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: |