mirror of https://github.com/UberGames/rpgxEF.git
27 lines
531 B
YAML
27 lines
531 B
YAML
stages:
|
|
- build
|
|
- test
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- "mkdir cmake-build-debug"
|
|
- "cd cmake-build-debug"
|
|
- "cmake .."
|
|
- "cmake --build . --target ui -- -j 8"
|
|
|
|
test:
|
|
stage: test
|
|
dependencies:
|
|
- build
|
|
script:
|
|
- "mkdir cmake-build-debug"
|
|
- "cd cmake-build-debug"
|
|
- "cmake .."
|
|
- "cmake --build . --target unittest_common -- -j 8"
|
|
- "./code/common/unittest_common -r junit -o results_common.xml"
|
|
artifacts:
|
|
reports:
|
|
junit:
|
|
- cmake-build-debug/results_common.xml
|