mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00

This sets `set -e` to ensure any errors in the test script are propagated upwards and noticed by the Github workflow. Prior to these changes failures in the build process of the tests would be ignored, and the success / failure would be determined purely by the return code of the `./problems` script.
18 lines
267 B
Bash
18 lines
267 B
Bash
set -ex
|
|
|
|
brew install gnutls
|
|
brew install cmake
|
|
brew install libfaketime
|
|
git clean -dfx
|
|
git submodule init
|
|
git submodule update
|
|
cmake -DCMAKE_BUILD_TYPE=debug .
|
|
make -j2
|
|
make install
|
|
task --version
|
|
|
|
pushd test
|
|
make
|
|
./run_all -v
|
|
cat all.log | grep 'not ok'
|
|
./problems
|