Skip to content
Snippets Groups Projects
Verified Commit 3cde7951 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent 71994e63
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ image: $CI_REGISTRY_IMAGE
stages:
- setup
- test
- deploy
# Build a docker image in which tests for this repository can run
build-testenv:
......@@ -51,9 +52,29 @@ test:
tags: [ docker ]
stage: test
script:
- mkdir test_build
- cd test_build
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build .
- ctest
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
pages:
stage: deploy
#only:
#refs:
#- /^release-.*$/i
#- master
#variables:
## run pages only on gitlab.com
#- $CI_SERVER_HOST == "gitlab.com"
script:
- mkdir -p build
- cd build
- cmake ..
- cmake --build . --target doc-sphinx
- cp -r doc/sphinx_out ../public
artifacts:
paths:
- public
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment