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
c4c1dac6
Commit
c4c1dac6
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
(cherry picked from commit
e1f57de6
)
parent
f664a607
Changes
2
Show 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 @
c4c1dac6
...
@@ -152,54 +152,35 @@ pipeline {
...
@@ -152,54 +152,35 @@ pipeline {
buildParallel
(
config
,
PrettyJobBaseName
)
buildParallel
(
config
,
PrettyJobBaseName
)
}
}
}
}
stage
(
'Documentation'
)
{
// TODO: generate PDF from reStructuredText
agent
{
label
'pandoc'
}
// stage('Documentation') {
steps
{
// agent { label 'pandoc' }
deleteDir
()
// steps {
unstash
(
'sources'
)
// deleteDir()
dir
(
'sources'
)
{
// unstash('sources')
// Configure and build.
// dir('sources') {
cmakeBuild
([
// // Configure and build.
buildDir:
'build'
,
// cmakeBuild([
installation:
'cmake in search path'
,
// buildDir: 'build',
sourceDir:
'.'
,
// installation: 'cmake in search path',
cmakeArgs:
'-DCAF_BUILD_TEX_MANUAL=yes'
,
// sourceDir: '.',
steps:
[[
// cmakeArgs: '-DCAF_BUILD_TEX_MANUAL=yes',
args:
'--target doc'
,
// steps: [[
withCmake:
true
,
// args: '--target doc',
]],
// withCmake: true,
])
// ]],
sshagent
([
'84d71a75-cbb6-489a-8f4c-d0e2793201e9'
])
{
// ])
sh
"""
// sshagent(['84d71a75-cbb6-489a-8f4c-d0e2793201e9']) {
if [ "${env.GIT_BRANCH}" = "master" ]; then
// sh """
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
// if [ "${env.GIT_BRANCH}" = "master" ]; then
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
// 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
fi
// 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
"""
}
}
}
stage
(
'Notify'
)
{
stage
(
'Notify'
)
{
steps
{
steps
{
collectResults
(
config
,
PrettyJobName
)
collectResults
(
config
,
PrettyJobName
)
...
...
configure
View file @
c4c1dac6
...
@@ -48,7 +48,6 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
...
@@ -48,7 +48,6 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
Optional Targets:
Optional Targets:
--with-qt-examples build Qt example(s)
--with-qt-examples build Qt example(s)
--with-protobuf-examples build Google Protobuf example(s)
--with-protobuf-examples build Google Protobuf example(s)
--with-tex-manual build the LaTeX manual
Installation Directories:
Installation Directories:
--prefix=PREFIX installation directory [/usr/local]
--prefix=PREFIX installation directory [/usr/local]
...
@@ -328,9 +327,6 @@ while [ $# -ne 0 ]; do
...
@@ -328,9 +327,6 @@ while [ $# -ne 0 ]; do
--with-protobuf-examples
)
--with-protobuf-examples
)
append_cache_entry CAF_BUILD_PROTOBUF_EXAMPLES BOOL
yes
append_cache_entry CAF_BUILD_PROTOBUF_EXAMPLES BOOL
yes
;;
;;
--with-tex-manual
)
append_cache_entry CAF_BUILD_TEX_MANUAL BOOL
yes
;;
--no-curl-examples
)
--no-curl-examples
)
append_cache_entry CAF_NO_CURL_EXAMPLES BOOL
yes
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