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
f97a71eb
Unverified
Commit
f97a71eb
authored
Jul 10, 2018
by
Dominik Charousset
Committed by
GitHub
Jul 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #725
Use Jenkins Cmake plugin on Windows
parents
316a7eeb
2520d9bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
26 deletions
+9
-26
Jenkinsfile
Jenkinsfile
+9
-26
No files found.
Jenkinsfile
View file @
f97a71eb
...
@@ -93,32 +93,15 @@ def buildSteps(buildType, cmakeArgs) {
...
@@ -93,32 +93,15 @@ def buildSteps(buildType, cmakeArgs) {
echo
"Windows build on $NODE_NAME"
echo
"Windows build on $NODE_NAME"
withEnv
([
'PATH=C:\\Windows\\System32;C:\\Program Files\\CMake\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\bin'
])
{
withEnv
([
'PATH=C:\\Windows\\System32;C:\\Program Files\\CMake\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\bin'
])
{
// Configure and build.
// Configure and build.
def
ret
=
bat
(
returnStatus:
true
,
cmakeBuild
([
script:
"""cmake -E make_directory build
buildDir:
'build'
,
cd build
buildType:
"$buildType"
,
cmake -D CMAKE_BUILD_TYPE=$buildType -G "Visual Studio 15 2017" $cmakeArgs $msOpts ..
cmakeArgs:
"$msOpts $cmakeArgs"
,
IF /I "%ERRORLEVEL%" NEQ "0" (
generator:
'Visual Studio 15 2017'
,
EXIT 1
installation:
'cmake in search path'
,
)
sourceDir:
'.'
,
EXIT 0"""
)
steps:
[[
withCmake:
true
]],
if
(
ret
)
{
])
echo
"[!!!] Configure failed!"
currentBuild
.
result
=
'FAILURE'
return
}
// bat "echo \"Step: Build for '${tags}'\""
ret
=
bat
(
returnStatus:
true
,
script:
"""cd build
cmake --build .
IF /I "%ERRORLEVEL%" NEQ "0" (
EXIT 1
)
EXIT 0"""
)
if
(
ret
)
{
echo
"[!!!] Build failed!"
currentBuild
.
result
=
'FAILURE'
return
}
// Test.
// Test.
ctest
([
ctest
([
arguments:
'--output-on-failure'
,
arguments:
'--output-on-failure'
,
...
...
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