mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 18:30:25 +01:00
1eb0408347
* test in progress * improved PR instructions * revert back
17 lines
326 B
Bash
Executable File
17 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ev
|
|
set -x
|
|
unzip -o 3rdParty/gtest/gtest-1.7.0.zip -d 3rdParty/gtest
|
|
|
|
|
|
mkdir -p build_travis
|
|
cd build_travis
|
|
cmake -DCMAKE_CXX_FLAGS=-std=c++14 -DADD_G3LOG_BENCH_PERFORMANCE=ON -DADD_G3LOG_UNIT_TEST=ON ..
|
|
|
|
makeArg=`grep -c ^processor /proc/cpuinfo`
|
|
|
|
make -j$makeArg
|
|
/bin/bash ../scripts/runAllTests.sh
|
|
|