carla/Jenkinsfile

37 lines
1.1 KiB
Plaintext
Raw Normal View History

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')
{
2024-06-04 17:43:17 +08:00
steps {
sh "cmake --build Build --target package"
}
}
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
}
}
}
}
}
2018-05-07 23:33:43 +08:00
}