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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user