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