[gimp/wip/Jehan/distribute-meson-tarball] gitlab-ci: distribute the meson-generated tarball as well.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/distribute-meson-tarball] gitlab-ci: distribute the meson-generated tarball as well.
- Date: Mon, 1 Aug 2022 18:24:06 +0000 (UTC)
commit 9f1191aa884b568ccf25efba5b01999528610e6c
Author: Jehan <jehan girinstud io>
Date: Mon Aug 1 20:13:32 2022 +0200
gitlab-ci: distribute the meson-generated tarball as well.
Maybe let's try to distribute the meson tarball next to the autotools
tarball for our next dev release, and announce that packagers are
invited to test the meson build from tarball and report back.
.gitlab-ci.yml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 21804f5bd4..d0816b8baa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -775,6 +775,34 @@ sources:
sha512sum gimp-*.tar.bz2 > ${FILENAME}.SHA512SUMS
needs: ["gimp-distcheck-debian"]
+sources-meson:
+ rules:
+ # On commits.
+ - if: '$CI_PIPELINE_SOURCE == "push"'
+ # On releases.
+ - if: '$CI_COMMIT_TAG != null'
+ # Custom builds though web GUI, API or schedules.
+ - if: '$GIMP_CI_SOURCES != null'
+ stage: distribution
+ dependencies:
+ - gimp-meson-debian
+ artifacts:
+ name: "GIMP-sources-meson-${CI_COMMIT_SHORT_SHA}"
+ when: always
+ expire_in: 2 days
+ paths:
+ - gimp-*.tar.xz
+ - gimp-*.tar.xz.SHA256SUMS
+ - gimp-*.tar.xz.SHA512SUMS
+ script:
+ - mv _build/meson-dist/gimp-*.tar.xz .
+ - BASENAME=`ls gimp-*.tar.xz | sed 's/.tar.xz//'` &&
+ FILENAME="$BASENAME-meson.tar.xz" &&
+ mv $BASENAME.tar.xz $FILENAME &&
+ sha256sum gimp-*.tar.xz > ${FILENAME}.SHA256SUMS &&
+ sha512sum gimp-*.tar.xz > ${FILENAME}.SHA512SUMS
+ needs: ["gimp-meson-debian"]
+
dev-docs:
rules:
# On commits.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]