diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2021-02-04 19:07:57 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2021-02-04 19:10:14 +0100 |
commit | ad2e2d8c19f57006aece2c357190a71a06975f58 (patch) | |
tree | 7e163fc41c88dec25ebec87a12bdde1d8034c8ec /build_matrix.sh | |
parent | 93b43d49bff4d4c04c8b8a30996f1365c7e23701 (diff) |
build_matrix.sh: Add a counter
Diffstat (limited to 'build_matrix.sh')
-rwxr-xr-x | build_matrix.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build_matrix.sh b/build_matrix.sh index 934a2aac..c215481e 100755 --- a/build_matrix.sh +++ b/build_matrix.sh @@ -11,6 +11,7 @@ ANSI_MAGENTA="\\033[35;1m" ANSI_RESET="\\033[0m" # Install directory prefix PREFIX=/tmp/local +COUNT=0 travis_fold() { local action="$1" @@ -36,7 +37,8 @@ for CC in ${MATRIX_CC:-gcc clang}; do export CMAKE for REMOTE in ${MATRIX_REMOTE:-no yes}; do export REMOTE - echo_magenta "===== SETUP: compiler:$CC cmake:$CMAKE remote:$REMOTE =====" + COUNT=$((COUNT+1)) + echo_magenta "===== SETUP $COUNT: compiler:$CC cmake:$CMAKE remote:$REMOTE =====" # LABEL is needed to build the travis fold labels LABEL="$CC.$CMAKE.$REMOTE" # Run one build with exported variables setup: CC, CMAKE and REMOTE @@ -52,4 +54,5 @@ for CC in ${MATRIX_CC:-gcc clang}; do done done done +echo_magenta "Tested setup count: $COUNT" # vi: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab autoindent : |