2019-09-21 07:57:38 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
|
2019-09-20 21:40:07 +00:00
|
|
|
build:
|
2019-09-21 07:57:38 +00:00
|
|
|
stage: build
|
2019-09-20 21:40:07 +00:00
|
|
|
script:
|
|
|
|
- "mkdir cmake-build-debug"
|
|
|
|
- "cd cmake-build-debug"
|
|
|
|
- "cmake .."
|
2019-09-21 12:33:23 +00:00
|
|
|
- "cmake --build . --target ui -- -j 8"
|
2019-09-20 21:40:07 +00:00
|
|
|
|
|
|
|
test:
|
2019-09-21 07:57:38 +00:00
|
|
|
stage: test
|
2019-09-21 07:35:10 +00:00
|
|
|
dependencies:
|
|
|
|
- build
|
2019-09-20 21:40:07 +00:00
|
|
|
script:
|
2019-09-21 10:42:59 +00:00
|
|
|
- "mkdir cmake-build-debug"
|
|
|
|
- "cd cmake-build-debug"
|
|
|
|
- "cmake .."
|
2019-09-21 11:07:45 +00:00
|
|
|
- "cmake --build . --target unittest_common -- -j 8"
|
2019-09-21 10:53:27 +00:00
|
|
|
- "./code/common/unittest_common -r junit -o results_common.xml"
|
|
|
|
artifacts:
|
|
|
|
reports:
|
|
|
|
junit:
|
2019-09-21 11:07:45 +00:00
|
|
|
- cmake-build-debug/results_common.xml
|