lean4-htt/script/ci.sh
Sebastian Ullrich 353b511e9b chore: CI: close ctest's stdin
Apparently CMake reverted auto-closing stdin for ctest in a recent release because people relied on the old behavior...

Perhaps we should add this to all test scripts instead, but this CI fix is easier
2019-11-17 21:24:33 +01:00

10 lines
277 B
Bash
Executable file

#!/usr/bin/env bash
set -e
mkdir build
cd build
eval cmake ../src $CMAKE_OPTIONS
cmake --build .
# -T to create .xml file for CI display
# `<&-` to close stdin so that assertion dialog doesn't wait for input
ctest -j8 --output-on-failure --no-compress-output -T Test <&-
cpack