[gdk-pixbuf/ci-update: 3/3] ci: Add release-dist job
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf/ci-update: 3/3] ci: Add release-dist job
- Date: Mon, 9 Nov 2020 14:47:20 +0000 (UTC)
commit 769a8a6c80a3f8b5bcef819e19cc807c5048a5e0
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Nov 9 14:46:28 2020 +0000
ci: Add release-dist job
Use it to generate the release artefacts.
.gitlab-ci.yml | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c50eaaa03..847d2d5126 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,7 +65,7 @@ reference:
image: ${FEDORA_IMAGE}
needs: []
variables:
- BUILD_OPTS: "-Dgtk_doc=true"
+ BUILD_OPTS: "-Dbuildtype=release -Dgtk_doc=true"
script:
- meson ${COMMON_MESON_FLAGS} ${LOADERS_FLAGS} ${BUILD_OPTS} _build .
- ninja -C _build gdk-pixbuf-doc
@@ -75,6 +75,26 @@ reference:
paths:
- _reference
+release-dist:
+ stage: build
+ image: ${FEDORA_IMAGE}
+ needs: []
+ variables:
+ BUILD_OPTS: "-Dbuildtype=release -Dgtk_doc=true"
+ script:
+ - meson ${COMMON_MESON_FLAGS} ${LOADERS_FLAGS} ${BUILD_OPTS} _build .
+ - meson compile -C _build
+ - meson dist -C _build
+ - ninja -C _build gdk-pixbuf-doc
+ - tar -c -J -f _build/gdk-pixbuf-docs-${CI_COMMIT_TAG}.tar.xz _build/docs/
+ artifacts:
+ when: on_success
+ paths:
+ - _build/meson-dist/gdk-pixbuf-${CI_COMMIT_TAG}.tar.xz
+ - _build/gdk-pixbuf-docs-${CI_COMMIT_TAG}.tar.xz
+ only:
+ - tags
+
pages:
stage: deploy
needs: [reference]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]