aboutsummaryrefslogtreecommitdiff
path: root/build_matrix.sh
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2021-07-05 01:29:00 +0100
committerDenis Ovsienko <denis@ovsienko.info>2021-07-05 01:29:00 +0100
commit82bc680be470943caa08ed80512cf7741900c3be (patch)
treebe734d61cbe490cd5eb209711fa0cb0892275360 /build_matrix.sh
parenta112d19be2b54151ac54bd584e2b09f70fef8abb (diff)
CI: Lose the output folding props.
The feature has no function in the current CI setup because it is specific to Travis CI. Keep the related block that cats assorted build files and make it conditional on MATRIX_DEBUG -- it might be needed later.
Diffstat (limited to 'build_matrix.sh')
-rwxr-xr-xbuild_matrix.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/build_matrix.sh b/build_matrix.sh
index bceaf312..dbaec9b6 100755
--- a/build_matrix.sh
+++ b/build_matrix.sh
@@ -17,14 +17,6 @@ if [ -z "$PREFIX" ]; then
fi
COUNT=0
-travis_fold() {
- tf_action=${1:?}
- tf_name=${2:?}
- if [ "$TRAVIS" != true ]; then return; fi
- printf 'travis_fold:%s:%s.script.%s\r' "$tf_action" "$LABEL" "$tf_name"
- sleep 1
-}
-
# Display text in magenta
echo_magenta() {
printf '\033[35;1m' # ANSI magenta
@@ -46,18 +38,14 @@ for CC in ${MATRIX_CC:-gcc clang}; do
export REMOTE
COUNT=$((COUNT+1))
echo_magenta "===== SETUP $COUNT: CC=$CC CMAKE=$CMAKE REMOTE=$REMOTE ====="
- # LABEL is needed to build the travis fold labels
- LABEL="$CC.$CMAKE.$REMOTE"
# Run one build with setup environment variables: CC, CMAKE and REMOTE
./build.sh
echo 'Cleaning...'
- travis_fold start cleaning
if [ "$CMAKE" = yes ]; then rm -rf build; else make distclean; fi
rm -rf "${PREFIX:?}"/*
git status -suall
# Cancel changes in configure
git checkout configure
- travis_fold end cleaning
done
done
done