Update Jenkins pipeline

This commit is contained in:
nsubiron 2018-07-06 13:14:48 +02:00
parent 0b90c448bf
commit 90b58429bb
3 changed files with 40 additions and 6 deletions

34
Jenkinsfile vendored
View File

@ -2,7 +2,7 @@ pipeline {
agent any
environment {
UE4_ROOT = '/var/lib/jenkins/UnrealEngine_4.18'
UE4_ROOT = '/var/lib/jenkins/UnrealEngine_4.19'
}
options {
@ -13,19 +13,43 @@ pipeline {
stage('Setup') {
steps {
sh './Setup.sh --jobs=12'
sh 'make setup'
}
}
stage('Build') {
stage('Download Content') {
steps {
sh './Rebuild.sh --no-editor'
sh './Update.sh'
}
}
stage('LibCarla') {
steps {
sh 'make LibCarla'
}
}
stage('PythonAPI') {
steps {
sh 'make PythonAPI'
}
}
stage('Unit Tests') {
steps {
sh 'make check'
}
}
stage('CarlaUE4Editor') {
steps {
sh 'make CarlaUE4Editor'
}
}
stage('Package') {
steps {
sh './Package.sh --clean-intermediate'
sh 'make package'
}
}

View File

@ -16,3 +16,13 @@
#ifndef BOOST_COROUTINES_NO_DEPRECATION_WARNING
# define BOOST_COROUTINES_NO_DEPRECATION_WARNING
#endif // BOOST_COROUTINES_NO_DEPRECATION_WARNING
#ifndef BOOST_NO_EXCEPTIONS
# define BOOST_NO_EXCEPTIONS
#endif // BOOST_NO_EXCEPTIONS
namespace boost {
static inline void throw_exception(const std::exception &) {}
} // namespace boost

View File

@ -21,6 +21,6 @@
#include <cstdint>
#include <iostream>
constexpr uint16_t TESTING_PORT = 8080u;
constexpr uint16_t TESTING_PORT = 2000u;
using namespace std::chrono_literals;