[gtk-doc/wip/smcv/dist-meson-build: 3/3] 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: 3/3] CI: Check that Meson tests can pass from an Autotools dist tarball
- Date: Fri, 21 Aug 2020 15:12:16 +0000 (UTC)
commit b14558a77b0a87123d784f6da4ee0b83a7e45c9c
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.
Tests: #109
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 82ff02e..d2f3afd 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
@@ -43,6 +47,22 @@ meson-build:
paths:
- _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]