summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-12-14 17:06:39 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-12-14 17:06:39 +0100
commit474cf8188013c791adf8165288f1c22f1633773a (patch)
tree8fc30a997a0a464f24d919df8699263aca5fff1b
parent4ca429f12e141a5fb58fc550e1e5c2594ee74615 (diff)
downloadgobject-introspection-474cf8188013c791adf8165288f1c22f1633773a.tar.gz
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
-rw-r--r--.gitlab-ci.yml9
1 files 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