mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
Update .gitlab-ci.yml to run test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user