[gobject-introspection] ci: switch to a non-srcdir build with autotools
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] ci: switch to a non-srcdir build with autotools
- Date: Fri, 14 Dec 2018 16:28:00 +0000 (UTC)
commit 474cf8188013c791adf8165288f1c22f1633773a
Author: Christoph Reiter <reiter christoph gmail com>
Date: Fri Dec 14 17:06:39 2018 +0100
ci: switch to a non-srcdir build with autotools
It's easy to break non-srcdir builds so make sure we catch it in CI
.gitlab-ci.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92ddbf59..0ad627db 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,7 +41,9 @@ fedora-x86_64-autotools:
CFLAGS: "-Werror"
script:
- sed -i 's|\[glib-2\.0 >= [0-9.]*\]|[glib-2.0 >= 1.0]|' configure.ac
- - ./autogen.sh --with-python=python3 --enable-gtk-doc --enable-doctool
+ - mkdir _build
+ - cd _build
+ - ../autogen.sh --with-python=python3 --enable-gtk-doc --enable-doctool
- make -j4
- make check
- python3 -m pip install --user flake8
@@ -50,7 +52,10 @@ fedora-x86_64-autotools:
when: on_failure
name: "gi-_${CI_COMMIT_REF_NAME}"
paths:
- - "${CI_PROJECT_DIR}/*/scanner/test-suite.log"
+ - "_build/*.log"
+ - "_build/*/*.log"
+ - "_build/*/*/*.log"
+ - "_build/*/*/*/*.log"
msys2-mingw32-meson:
stage: build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]