From 201dfc38f90b190b002a09b8ce98b8a026010b6e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 14 Feb 2020 11:43:19 +1000 Subject: [PATCH] gitlab CI: separate builddir from srcdir Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20fcfad..25850e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,7 +76,7 @@ variables: .default_artifacts: artifacts: paths: - - test/test-suite.log + - _build/test/test-suite.log expire_in: 1 week when: on_failure reports: @@ -86,11 +86,13 @@ variables: extends: - .default_artifacts script: - - autoreconf -ivf - - ./configure --disable-silent-rules $CONFIGURE_FLAGS + - mkdir _build + - pushd _build > /dev/null + - ../autogen.sh --disable-silent-rules $CONFIGURE_FLAGS - make - make check - if ! [[ -z "$MAKE_ARGS" ]]; then make $MAKE_ARGS; fi + - popd > /dev/null ################################################################# # # -- 2.34.1