diff options
author | Uri Lublin <uril@redhat.com> | 2019-05-01 14:20:54 +0300 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2019-05-01 19:38:09 +0100 |
commit | 0c4c3a69169dcaa15e9528e310d2ab30752fd886 (patch) | |
tree | 3437b666ee7b873da1f572e2a1c226349e5f6070 /.gitlab-ci.yml | |
parent | ed68d491fd59b2ad124726fb66dc4e574884122e (diff) |
gitlab-ci: build out-of-tree too
One test is enough -- do it in makecheck.
Must git clean first any previous builds.
Signed-off-by: Uri Lublin <uril@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ce95c00..2c1f46ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,12 +14,18 @@ before_script: makecheck: script: + # Also check out-of-tree build + - git clean -fdx # cleanup after previous builds + - git submodule foreach --recursive git clean -fdx + - mkdir builddir + - cd builddir - > CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920' LDFLAGS='-fsanitize=address -lasan' - ./autogen.sh --enable-celt051 + ../autogen.sh --enable-celt051 - make - make -C server check || (cat server/tests/test-suite.log && exit 1) + - cd .. meson-makecheck: script: |