4248 -- simplify CI

This commit is contained in:
Kartik Agaram 2018-05-25 12:47:32 -07:00
parent f7d3dc0eea
commit 9531333e7f
2 changed files with 4 additions and 2 deletions

View File

@ -30,10 +30,12 @@ matrix:
- env: COMMAND=./test_layers CXX=clang++ START=edit3
- env: COMMAND=./test_layers CXX=clang++ START=edit4
- env: COMMAND=./test_layers CXX=g++ START=one-off # minimal testing for gcc
- env: COMMAND=./subx/test_layers
# other build scripts
- env: COMMAND=./test_layers BUILD=build0 START=one-off
- env: COMMAND=./test_layers BUILD=build1 START=one-off
- env: COMMAND=./test_layers BUILD=build2 START=one-off
# other directories
- env: COMMAND=./subx/test_layers
script:
- $COMMAND $START $END

View File

@ -30,7 +30,7 @@ do
if [[ $f < $1 ]]; then continue; fi
if [[ $2 && $f > $2 ]]; then exit 0; fi
echo "=== $f"
rm -rf .build mu.cc mu_bin core.mu # force full rebuild for top-level, but not subsidiary tools like tangle and cleave
./clean top-level # preserve subsidiary tools like tangle and cleave
./$BUILD --until $f || exit 1
# valgrind requires Linux
valgrind --leak-check=yes --num-callers=40 -q --error-exitcode=1 ./mu_bin test || exit 1