From 387ed16d2f801645fd9fa97d5c32837d03339a68 Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de> Date: Wed, 24 Nov 2021 09:09:59 +0100 Subject: [PATCH] Update CI scripts for Intel on Mistral: check out-of-source build. --- .ci/bb/mistral-dkrz/test.all.intel-17.0.6 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.ci/bb/mistral-dkrz/test.all.intel-17.0.6 b/.ci/bb/mistral-dkrz/test.all.intel-17.0.6 index 99142804b..1401459b6 100755 --- a/.ci/bb/mistral-dkrz/test.all.intel-17.0.6 +++ b/.ci/bb/mistral-dkrz/test.all.intel-17.0.6 @@ -11,6 +11,9 @@ init_intel1706 test -f "${top_srcdir}/configure" || ( cd "${top_srcdir}" && ./autogen.sh ) +# Create a subdirectory for building and switch to it: +mkdir build && cd build + "${top_srcdir}/configure" \ --disable-maintainer-mode \ --enable-cf-interface \ @@ -30,3 +33,7 @@ make -j8 make -j8 check || { cat tests/test-suite.log; exit 1; } check_all_tests_passed tests/test-suite.log + +make -j8 distclean + +check_no_files_in_cwd -- GitLab