Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Mike Wake
CMake
Commits
50cbc9b7
Commit
50cbc9b7
authored
4 years ago
by
Ben Boeckel
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: add a sphinx builder
parent
d78bf2f2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+28
-1
28 additions, 1 deletion
.gitlab-ci.yml
.gitlab/ci/configure_fedora31_sphinx.cmake
+8
-0
8 additions, 0 deletions
.gitlab/ci/configure_fedora31_sphinx.cmake
.gitlab/ci/gitlab_ci.cmake
+3
-0
3 additions, 0 deletions
.gitlab/ci/gitlab_ci.cmake
with
39 additions
and
1 deletion
.gitlab-ci.yml
+
28
−
1
View file @
50cbc9b7
...
...
@@ -4,7 +4,7 @@
-
tags@cmake/cmake
.fedora31
:
&fedora31
image
:
"
kitware/cmake:ci-fedora31-x86_64-2020-0
4-27
"
image
:
"
kitware/cmake:ci-fedora31-x86_64-2020-0
5-05
"
variables
:
GIT_CLONE_PATH
:
"
$CI_BUILDS_DIR/gitlab-kitware-cmake
ci"
...
...
@@ -29,6 +29,14 @@
CMAKE_CONFIGURATION
:
fedora31_tidy
CTEST_NO_WARNINGS_ALLOWED
:
1
.fedora31_sphinx
:
&fedora31_sphinx
extends
:
.fedora31
variables
:
CMAKE_CONFIGURATION
:
fedora31_sphinx
CTEST_NO_WARNINGS_ALLOWED
:
1
CTEST_SOURCE_SUBDIRECTORY
:
"
Utilities/Sphinx"
before_script
:
-
.gitlab/ci/cmake.sh
-
.gitlab/ci/ninja.sh
...
...
@@ -95,3 +103,22 @@ build:fedora31-tidy:
-
"
$LAUNCHER
ctest
-VV
-S
.gitlab/ci/ctest_build.cmake"
-
sccache --show-stats
interruptible
:
true
build:fedora31-sphinx
:
<<
:
-
*fedora31_sphinx
stage
:
build
only
:
*only_settings
tags
:
-
build
-
docker
-
linux
script
:
-
.gitlab/ci/sccache.sh
-
sccache --start-server
-
sccache --show-stats
-
"
$LAUNCHER
ctest
-VV
-S
.gitlab/ci/ctest_configure.cmake"
-
"
$LAUNCHER
ctest
-VV
-S
.gitlab/ci/ctest_build.cmake"
-
sccache --show-stats
interruptible
:
true
This diff is collapsed.
Click to expand it.
.gitlab/ci/configure_fedora31_sphinx.cmake
0 → 100644
+
8
−
0
View file @
50cbc9b7
set
(
SPHINX_INFO ON CACHE BOOL
""
)
set
(
SPHINX_MAN ON CACHE BOOL
""
)
set
(
SPHINX_HTML ON CACHE BOOL
""
)
set
(
SPHINX_SINGLEHTML ON CACHE BOOL
""
)
set
(
SPHINX_QTHELP ON CACHE BOOL
""
)
set
(
SPHINX_TEXT ON CACHE BOOL
""
)
include
(
"
${
CMAKE_CURRENT_LIST_DIR
}
/configure_common.cmake"
)
This diff is collapsed.
Click to expand it.
.gitlab/ci/gitlab_ci.cmake
+
3
−
0
View file @
50cbc9b7
...
...
@@ -5,6 +5,9 @@ endif ()
# Set up the source and build paths.
set
(
CTEST_SOURCE_DIRECTORY
"$ENV{CI_PROJECT_DIR}"
)
if
(
NOT
"$ENV{CTEST_SOURCE_SUBDIRECTORY}"
STREQUAL
""
)
string
(
APPEND CTEST_SOURCE_DIRECTORY
"/$ENV{CTEST_SOURCE_SUBDIRECTORY}"
)
endif
()
set
(
CTEST_BINARY_DIRECTORY
"
${
CTEST_SOURCE_DIRECTORY
}
/build"
)
if
(
"$ENV{CMAKE_CONFIGURATION}"
STREQUAL
""
)
...
...
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