2020-03-05 20:16:18 +08:00
|
|
|
pipeline
|
|
|
|
{
|
|
|
|
stages
|
|
|
|
{
|
2024-06-04 17:43:17 +08:00
|
|
|
stage('Ubuntu')
|
2020-03-19 07:45:00 +08:00
|
|
|
{
|
2024-06-04 17:43:17 +08:00
|
|
|
agent { label "ubuntu_22_04" }
|
|
|
|
stages {
|
|
|
|
stage('Configure')
|
2020-03-19 07:45:00 +08:00
|
|
|
{
|
2024-06-04 17:43:17 +08:00
|
|
|
steps {
|
|
|
|
sh "cmake -G Ninja -S . -B Build --toolchain=$PWD/CMake/LinuxToolchain.cmake -DLAUNCH_ARGS=-prefernvidia -DCMAKE_BUILD_TYPE=Release -DENABLE_ROS2=ON -DBUILD_CARLA_UNREAL=ON -DCARLA_UNREAL_ENGINE_PATH=$CARLA_UNREAL_ENGINE_PATH"
|
|
|
|
}
|
2020-03-19 07:45:00 +08:00
|
|
|
}
|
2024-06-04 17:43:17 +08:00
|
|
|
stage('Build Python API')
|
2020-03-05 20:16:18 +08:00
|
|
|
{
|
2024-06-04 17:43:17 +08:00
|
|
|
steps {
|
|
|
|
sh "cmake --build Build --target package"
|
2020-03-05 20:16:18 +08:00
|
|
|
}
|
2019-03-08 21:41:23 +08:00
|
|
|
}
|
2024-06-04 17:43:17 +08:00
|
|
|
stage('Build CARLA')
|
2020-03-19 21:38:04 +08:00
|
|
|
{
|
2024-06-04 17:43:17 +08:00
|
|
|
steps {
|
|
|
|
sh "cmake --build Build --target carla-unreal"
|
2020-03-19 21:38:04 +08:00
|
|
|
}
|
2024-06-04 17:43:17 +08:00
|
|
|
}
|
|
|
|
stage('Package')
|
|
|
|
{
|
|
|
|
steps {
|
|
|
|
sh "cmake --build Build --target package"
|
2020-03-19 21:38:04 +08:00
|
|
|
}
|
|
|
|
}
|
2019-03-08 21:41:23 +08:00
|
|
|
}
|
|
|
|
}
|
2020-03-05 20:16:18 +08:00
|
|
|
}
|
2018-05-07 23:33:43 +08:00
|
|
|
}
|