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
093f46f7
Commit
093f46f7
authored
Aug 17, 2023
by
Samir Halilcevic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try parallel run again
parent
5701c066
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
38 deletions
+39
-38
.ci/autobahn-testsuite/run.sh
.ci/autobahn-testsuite/run.sh
+0
-1
Jenkinsfile
Jenkinsfile
+39
-37
No files found.
.ci/autobahn-testsuite/run.sh
View file @
093f46f7
...
@@ -45,7 +45,6 @@ cat > $CONFIG_FILE << EOF
...
@@ -45,7 +45,6 @@ cat > $CONFIG_FILE << EOF
EOF
EOF
trap
cleanup EXIT
trap
cleanup EXIT
set
-x
"
$BUILD_DIR
"
/libcaf_net/caf-net-autobahn-driver
-p
7788
>
/dev/null &
"
$BUILD_DIR
"
/libcaf_net/caf-net-autobahn-driver
-p
7788
>
/dev/null &
wstest
-m
fuzzingclient
-s
$CONFIG_FILE
wstest
-m
fuzzingclient
-s
$CONFIG_FILE
...
...
Jenkinsfile
View file @
093f46f7
...
@@ -167,43 +167,45 @@ pipeline {
...
@@ -167,43 +167,45 @@ pipeline {
getSources
(
config
)
getSources
(
config
)
}
}
}
}
/*
stage
(
'Build and Test'
)
{
stage('Build') {
parallel
{
steps {
stage
(
'Build'
)
{
buildParallel(config)
steps
{
}
buildParallel
(
config
)
}
}
*/
}
stage
(
'Autobahn Testsuite'
)
{
stage
(
'Autobahn Testsuite'
)
{
agent
{
agent
{
dockerfile
{
dir
".ci/autobahn-testsuite"
}
dockerfile
{
dir
".ci/autobahn-testsuite"
}
}
}
environment
{
environment
{
CAF_NUM_CORES
=
4
CAF_NUM_CORES
=
4
}
}
steps
{
steps
{
script
{
script
{
def
baseDir
=
pwd
()
def
baseDir
=
pwd
()
def
buildDir
=
"$baseDir/build"
def
buildDir
=
"$baseDir/build"
def
installDir
=
"$baseDir/caf-install"
def
installDir
=
"$baseDir/caf-install"
def
initFile
=
"$baseDir/init.cmake"
def
initFile
=
"$baseDir/init.cmake"
writeFile
([
writeFile
([
file:
'init.cmake'
,
file:
'init.cmake'
,
text:
"""
text:
"""
set(CAF_ENABLE_EXAMPLES OFF CACHE BOOL "")
set(CAF_ENABLE_EXAMPLES OFF CACHE BOOL "")
set(CAF_ENABLE_RUNTIME_CHECKS ON CACHE BOOL "")
set(CAF_ENABLE_RUNTIME_CHECKS ON CACHE BOOL "")
set(CAF_ENABLE_SHARED_LIBS OFF CACHE BOOL "")
set(CAF_ENABLE_SHARED_LIBS OFF CACHE BOOL "")
set(CAF_ENABLE_IO_MODULE OFF CACHE BOOL "")
set(CAF_ENABLE_IO_MODULE OFF CACHE BOOL "")
set(CAF_ENABLE_IO_TOOLS OFF CACHE BOOL "")
set(CAF_ENABLE_IO_TOOLS OFF CACHE BOOL "")
set(CAF_BUILD_INFO_FILE_PATH "$baseDir/build-autobahn.info" CACHE FILEPATH "")
set(CAF_BUILD_INFO_FILE_PATH "$baseDir/build-autobahn.info" CACHE FILEPATH "")
set(CMAKE_INSTALL_PREFIX "$installDir" CACHE PATH "")
set(CMAKE_INSTALL_PREFIX "$installDir" CACHE PATH "")
set(CMAKE_BUILD_TYPE "release" CACHE STRING "")
set(CMAKE_BUILD_TYPE "release" CACHE STRING "")
"""
"""
])
])
sh
"rm -rf '$buildDir'"
sh
"rm -rf '$buildDir'"
sh
"./.ci/run.sh build '$initFile' '$baseDir' '$buildDir'"
sh
"./.ci/run.sh build '$initFile' '$baseDir' '$buildDir'"
catchError
(
message:
'Autobahn Tests failed!'
,
buildResult:
"FAILURE"
,
stageResult:
"FAILURE"
)
{
catchError
(
message:
'Autobahn Tests failed!'
,
buildResult:
"FAILURE"
,
stageResult:
"FAILURE"
)
{
sh
"./.ci/autobahn-testsuite/run.sh $buildDir"
sh
"./.ci/autobahn-testsuite/run.sh $buildDir"
}
}
}
}
}
}
}
}
...
...
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