Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
795dcf0f
There was an error fetching the commit references. Please try again later.
Commit
795dcf0f
authored
4 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
CI: fixing jobs for the documentation build
parent
b5b4a867
No related branches found
No related tags found
1 merge request
!80
To/matrices
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+27
-15
27 additions, 15 deletions
.gitlab-ci.yml
with
27 additions
and
15 deletions
.gitlab-ci.yml
+
27
−
15
View file @
795dcf0f
...
...
@@ -76,7 +76,7 @@ stages:
-
cmake ../..
-G Ninja
-DCMAKE_BUILD_TYPE=${BUILD_TYPE}
-DCMAKE_INSTALL_PREFIX=$(pwd)/${BUILD_TYPE}_install_prefix
-DCMAKE_INSTALL_PREFIX=
"
$(pwd)/${BUILD_TYPE}_install_prefix
"
-DWITH_OPENMP=${WITH_OPENMP}
-DWITH_MPI=${WITH_MPI}
-DWITH_CUDA=${WITH_CUDA}
...
...
@@ -102,8 +102,6 @@ stages:
only
:
changes
:
-
src/**/*.{h,hpp,cpp,cu}
-
Documentation/Examples/**/*.{h,hpp,cpp,cu}
-
Documentation/Tutorials/**/*.{h,hpp,cpp,cu}
-
"
**/CMakeLists.txt"
-
.gitlab-ci.yml
interruptible
:
true
...
...
@@ -117,11 +115,12 @@ dummy build job:
-
merge_requests
except
:
changes
:
# .build_template
-
src/**/*.{h,hpp,cpp,cu}
-
Documentation/Examples/**/*.{h,hpp,cpp,cu}
-
Documentation/Tutorials/**/*.{h,hpp,cpp,cu}
-
"
**/CMakeLists.txt"
-
.gitlab-ci.yml
# build documentation
-
Documentation/**/*
# Cuda builds are specified first because they take more time than host-only builds,
# which can be allocated on hosts whitout GPUs.
...
...
@@ -189,12 +188,6 @@ cuda_examples_Debug:
WITH_CUDA
:
"
yes"
BUILD_TYPE
:
Debug
WITH_EXAMPLES
:
"
yes"
# build output snippets for documentation
WITH_DOC
:
"
yes"
# store output snippets for documentation
artifacts
:
paths
:
-
Documentation/output_snippets/
cuda_examples_Release
:
extends
:
.build_template
...
...
@@ -468,6 +461,28 @@ clang_mpi_benchmarks_tools_python_Release:
documentation examples
:
extends
:
.build_template
stage
:
build:cuda
tags
:
-
docker
-
nvidia
variables
:
<<
:
*default_cmake_flags
WITH_CUDA
:
"
yes"
BUILD_TYPE
:
Debug
# build output snippets for documentation
WITH_DOC
:
"
yes"
only
:
changes
:
-
Documentation/**/*
-
src/TNL/**/*.{h,hpp}
-
.gitlab-ci.yml
# store output snippets for documentation
artifacts
:
paths
:
-
Documentation/output_snippets/
build documentation
:
stage
:
build:doc
only
:
...
...
@@ -477,16 +492,13 @@ build documentation:
-
.gitlab-ci.yml
# use "needs" instead of "dependencies" to allow out-of-order start of this job
needs
:
# the job which builds Documentation/output_snippets/
-
job
:
cuda_examples_Debug
-
job
:
documentation examples
artifacts
:
true
script
:
-
./Documentation/build
artifacts
:
paths
:
-
./Documentation/html/
# tags:
# - doxygen
deploy documentation
:
stage
:
deploy
...
...
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