[gtk-doc/wip/smcv/dist-meson-build: 4/4] CI: Check that Meson tests can pass from an Autotools dist tarball
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc/wip/smcv/dist-meson-build: 4/4] CI: Check that Meson tests can pass from an Autotools dist tarball
- Date: Fri, 21 Aug 2020 14:54:49 +0000 (UTC)
commit 6fbab6149cf4ef5f116a312884a25831555021f8
Author: Simon McVittie <smcv debian org>
Date: Fri Aug 21 15:54:10 2020 +0100
CI: Check that Meson tests can pass from an Autotools dist tarball
This allows the Autotools dist tarball to continue to be used as the
official release artifact, while still allowing distributors to try
Meson builds.
Signed-off-by: Simon McVittie <smcv debian org>
.gitlab-ci.yml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 67c650d..cc5c216 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,8 +12,12 @@ autotools-build:
script:
- ./autogen.sh --prefix=/usr
- make
+ - make dist
except:
- tags
+ artifacts:
+ paths:
+ - gtk-doc-*.tar.*
autotools-test:
stage: test
@@ -45,6 +49,22 @@ meson-build:
- _build/meson-dist/*
- _build/meson-logs/*
+meson-from-tarball:
+ stage: test
+ dependencies:
+ - autotools-build
+ variables:
+ GIT_STRATEGY: none
+ script:
+ - tar -xvf ../gtk-doc-*.tar.*
+ - ( cd gtk-doc-*/; meson --prefix /usr _build . )
+ - ninja -C gtk-doc-*/_build
+ - meson test -C gtk-doc-*/_build
+ artifacts:
+ when: on_failure
+ paths:
+ - gtk-doc-*/_build/meson-logs/*.log
+
# common
pages:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]