Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
e1f57de6
Commit
e1f57de6
authored
Feb 17, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup legacy build scaffold for the TeX manual
parent
58a477f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
52 deletions
+29
-52
Jenkinsfile
Jenkinsfile
+29
-48
configure
configure
+0
-4
No files found.
Jenkinsfile
View file @
e1f57de6
...
...
@@ -164,54 +164,35 @@ pipeline {
buildParallel
(
config
,
PrettyJobBaseName
)
}
}
stage
(
'Documentation'
)
{
agent
{
label
'pandoc'
}
steps
{
deleteDir
()
unstash
(
'sources'
)
dir
(
'sources'
)
{
// Configure and build.
cmakeBuild
([
buildDir:
'build'
,
installation:
'cmake in search path'
,
sourceDir:
'.'
,
cmakeArgs:
'-DCAF_BUILD_TEX_MANUAL=yes'
,
steps:
[[
args:
'--target doc'
,
withCmake:
true
,
]],
])
sshagent
([
'84d71a75-cbb6-489a-8f4c-d0e2793201e9'
])
{
sh
"""
if [ "${env.GIT_BRANCH}" = "master" ]; then
rsync -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -r -z --delete build/doc/html/ www.inet.haw-hamburg.de:/users/www/www.actor-framework.org/html/doc
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null build/doc/manual.pdf www.inet.haw-hamburg.de:/users/www/www.actor-framework.org/html/pdf/manual.pdf
fi
"""
}
}
dir
(
'read-the-docs'
)
{
git
([
credentialsId:
'9b054212-9bb4-41fd-ad8e-b7d47495303f'
,
url:
'git@github.com:actor-framework/read-the-docs.git'
,
])
sh
"""
if [ "${env.GIT_BRANCH}" = "master" ]; then
cp ../sources/build/doc/rst/* .
if [ -n "\$(git status --porcelain)" ]; then
git add .
git commit -m "Update Manual"
git push --set-upstream origin master
if [ -z "\$(grep 'exp.sha' ../sources/release.txt)" ] ; then
git tag \$(cat ../sources/release.txt)
git push origin \$(cat ../sources/release.txt)
fi
fi
fi
"""
}
}
}
// TODO: generate PDF from reStructuredText
// stage('Documentation') {
// agent { label 'pandoc' }
// steps {
// deleteDir()
// unstash('sources')
// dir('sources') {
// // Configure and build.
// cmakeBuild([
// buildDir: 'build',
// installation: 'cmake in search path',
// sourceDir: '.',
// cmakeArgs: '-DCAF_BUILD_TEX_MANUAL=yes',
// steps: [[
// args: '--target doc',
// withCmake: true,
// ]],
// ])
// sshagent(['84d71a75-cbb6-489a-8f4c-d0e2793201e9']) {
// sh """
// if [ "${env.GIT_BRANCH}" = "master" ]; then
// rsync -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" -r -z --delete build/doc/html/ www.inet.haw-hamburg.de:/users/www/www.actor-framework.org/html/doc
// scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null build/doc/manual.pdf www.inet.haw-hamburg.de:/users/www/www.actor-framework.org/html/pdf/manual.pdf
// fi
// """
// }
// }
// }
// }
stage
(
'Notify'
)
{
steps
{
collectResults
(
config
,
PrettyJobName
)
...
...
configure
View file @
e1f57de6
...
...
@@ -47,7 +47,6 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
Optional Targets:
--with-qt-examples build Qt example(s)
--with-protobuf-examples build Google Protobuf example(s)
--with-tex-manual build the LaTeX manual
Installation Directories:
--prefix=PREFIX installation directory [/usr/local]
...
...
@@ -315,9 +314,6 @@ while [ $# -ne 0 ]; do
--with-protobuf-examples
)
append_cache_entry CAF_BUILD_PROTOBUF_EXAMPLES BOOL
yes
;;
--with-tex-manual
)
append_cache_entry CAF_BUILD_TEX_MANUAL BOOL
yes
;;
--no-curl-examples
)
append_cache_entry CAF_NO_CURL_EXAMPLES BOOL
yes
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment