Update .gitlab-ci.yml to run test

This commit is contained in:
Ruixiang Du
2020-08-16 10:14:55 +00:00
parent 7034afa30c
commit b53a80eca3

View File

@@ -8,7 +8,7 @@ build:
- apt update && apt -y install libasio-dev
script:
- mkdir build && cd build
- cmake ..
- cmake -DBUILD_TESTS=ON ..
- cmake --build . && cpack
# artifacts:
# paths:
@@ -19,7 +19,7 @@ build:
# - "*.o"
# run tests using the binary built before
# test:
# stage: test
# script:
# - ./runmytests.sh
test:
stage: test
script:
- ./build/bin/gtest_all