Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cpplib
Commits
3cde7951
Verified
Commit
3cde7951
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: pipeline
parent
71994e63
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+23
-2
23 additions, 2 deletions
.gitlab-ci.yml
with
23 additions
and
2 deletions
.gitlab-ci.yml
+
23
−
2
View file @
3cde7951
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment