aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Tassi2020-11-25 15:44:16 +0100
committerEnrico Tassi2020-11-26 12:06:25 +0100
commit0c3b900708bbc79e411ea0e60017abde89106a95 (patch)
tree6e278c2d8379df62034ad7ccfe91eb7e583f87c8
parentfdf2f92ed5e2e838ffb11183c00f724e4e7c3a51 (diff)
[ci] avoid always rebuilding jobs that use remake
-rwxr-xr-xdev/ci/ci-coquelicot.sh2
-rwxr-xr-xdev/ci/ci-flocq.sh2
-rwxr-xr-xdev/ci/ci-interval.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/dev/ci/ci-coquelicot.sh b/dev/ci/ci-coquelicot.sh
index a5405a2b62..5b4d953e7b 100755
--- a/dev/ci/ci-coquelicot.sh
+++ b/dev/ci/ci-coquelicot.sh
@@ -7,4 +7,4 @@ install_ssreflect
git_download coquelicot
-( cd "${CI_BUILD_DIR}/coquelicot" && autoreconf -i -s && ./configure && ./remake "-j${NJOBS}" && ./remake install )
+( cd "${CI_BUILD_DIR}/coquelicot" && ( if [ ! -x ./configure ]; then autoreconf -i -s && ./configure; fi ) && ./remake "-j${NJOBS}" && ./remake install )
diff --git a/dev/ci/ci-flocq.sh b/dev/ci/ci-flocq.sh
index a3a704091b..cb6c3e6452 100755
--- a/dev/ci/ci-flocq.sh
+++ b/dev/ci/ci-flocq.sh
@@ -5,4 +5,4 @@ ci_dir="$(dirname "$0")"
git_download flocq
-( cd "${CI_BUILD_DIR}/flocq" && autoconf && ./configure && ./remake "-j${NJOBS}" && ./remake install )
+( cd "${CI_BUILD_DIR}/flocq" && ( if [ ! -x ./configure ]; then autoconf && ./configure; fi ) && ./remake "-j${NJOBS}" && ./remake install )
diff --git a/dev/ci/ci-interval.sh b/dev/ci/ci-interval.sh
index 30d437363f..1e89aac629 100755
--- a/dev/ci/ci-interval.sh
+++ b/dev/ci/ci-interval.sh
@@ -5,4 +5,4 @@ ci_dir="$(dirname "$0")"
git_download interval
-( cd "${CI_BUILD_DIR}/interval" && autoconf && ./configure && ./remake "-j${NJOBS}" && ./remake install )
+( cd "${CI_BUILD_DIR}/interval" && ( if [ ! -x ./configure ]; then autoconf && ./configure; fi ) && ./remake "-j${NJOBS}" && ./remake install )