mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
ci: enable run of tests in CI
This commit is contained in:
parent
0fcad65091
commit
3f118d8991
@ -21,6 +21,7 @@ image: git.gfz-potsdam.de:5000/sec34/port:builder
|
||||
stages: # List of stages for jobs, and their order of execution
|
||||
- build
|
||||
- release
|
||||
- test
|
||||
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
@ -34,6 +35,13 @@ build-poet: # This job runs in the build stage, which runs first.
|
||||
- cmake ..
|
||||
- make -j$(nproc)
|
||||
|
||||
test-poet:
|
||||
stage: test
|
||||
script:
|
||||
- mkdir build_test && cd build_test
|
||||
- cmake -DPOET_ENABLE_TESTING=ON ..
|
||||
- make -j$(nproc) check
|
||||
|
||||
archive-sources: # This job runs in the build stage, which runs first.
|
||||
image: python:3
|
||||
stage: release
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user