Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Turn on building tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerbino committed Feb 28, 2021
1 parent a8f3168 commit d8a9db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ mkdir build
pushd build

if [ "$RUN_TYPE" = "test" ]; then
cmake -DCMAKE_BUILD_TYPE=Release -DHUNTER_RUN_UPLOAD=ON ..
cmake -DCMAKE_BUILD_TYPE=Release -DHUNTER_RUN_UPLOAD=ON -DBUILD_TESTS=ON ..
cmake --build . --config Release --parallel 3
elif [ "$RUN_TYPE" = "coverage" ]; then
cmake -DCMAKE_BUILD_TYPE=Debug -DHUNTER_RUN_UPLOAD=ON -DCOVERAGE=ON ..
cmake -DCMAKE_BUILD_TYPE=Debug -DHUNTER_RUN_UPLOAD=ON -DCOVERAGE=ON -DBUILD_TESTS=ON ..
cmake --build . --config Debug --parallel 3 --target coverage --target golang

popd
Expand Down

0 comments on commit d8a9db9

Please sign in to comment.