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

WIP: pipeline

parent 71994e63
Branches
Tags
No related merge requests found
...@@ -28,6 +28,7 @@ image: $CI_REGISTRY_IMAGE ...@@ -28,6 +28,7 @@ image: $CI_REGISTRY_IMAGE
stages: stages:
- setup - setup
- test - test
- deploy
# Build a docker image in which tests for this repository can run # Build a docker image in which tests for this repository can run
build-testenv: build-testenv:
...@@ -51,9 +52,29 @@ test: ...@@ -51,9 +52,29 @@ test:
tags: [ docker ] tags: [ docker ]
stage: test stage: test
script: script:
- mkdir test_build - mkdir build
- cd test_build - cd build
- cmake -DCMAKE_BUILD_TYPE=Debug .. - cmake -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build . - cmake --build .
- ctest - 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.
Please register or to comment