gitlab CI: separate builddir from srcdir

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-02-14 11:43:19 +10:00
parent ee2d35a90a
commit 201dfc38f9

View file

@ -76,7 +76,7 @@ variables:
.default_artifacts: .default_artifacts:
artifacts: artifacts:
paths: paths:
- test/test-suite.log - _build/test/test-suite.log
expire_in: 1 week expire_in: 1 week
when: on_failure when: on_failure
reports: reports:
@ -86,11 +86,13 @@ variables:
extends: extends:
- .default_artifacts - .default_artifacts
script: script:
- autoreconf -ivf - mkdir _build
- ./configure --disable-silent-rules $CONFIGURE_FLAGS - pushd _build > /dev/null
- ../autogen.sh --disable-silent-rules $CONFIGURE_FLAGS
- make - make
- make check - make check
- if ! [[ -z "$MAKE_ARGS" ]]; then make $MAKE_ARGS; fi - if ! [[ -z "$MAKE_ARGS" ]]; then make $MAKE_ARGS; fi
- popd > /dev/null
################################################################# #################################################################
# # # #