add build scripts

This commit is contained in:
2018-12-08 08:59:16 +07:00
parent 3c205ce312
commit 47d3502a47
8 changed files with 63 additions and 18 deletions

View File

@@ -65,14 +65,4 @@ matrix:
before_install:
- eval "${MATRIX_EVAL}"
script:
- mkdir -p build/debug && cd build/debug
- cmake -DCMAKE_BUILD_TYPE=Debug ../..
- cmake --build . -- -j8
- ctest --verbose
- cd ../..
- mkdir -p build/release && cd build/release
- cmake -DCMAKE_BUILD_TYPE=Release ../..
- cmake --build . -- -j8
- ctest --verbose
- cd ../..
- ./scripts/build_all.sh