-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Jenkinsfile
36 lines (36 loc) · 1.08 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
pipeline
{
stages
{
stage('Ubuntu')
{
agent { label "ubuntu_22_04" }
stages {
stage('Configure')
{
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"
}
}
stage('Build Python API')
{
steps {
sh "cmake --build Build --target package"
}
}
stage('Build CARLA')
{
steps {
sh "cmake --build Build --target carla-unreal"
}
}
stage('Package')
{
steps {
sh "cmake --build Build --target package"
}
}
}
}
}
}