12 lines
201 B
Bash
12 lines
201 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -x # echo on
|
||
|
set -e # exit on error
|
||
|
|
||
|
mkdir build
|
||
|
cd build
|
||
|
pwd
|
||
|
cmake -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
|
||
|
make -j2
|
||
|
make CTEST_OUTPUT_ON_FAILURE=1 test
|