-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #259 from RI-SE/dev
June release, version 0.5.0
- Loading branch information
Showing
142 changed files
with
5,642 additions
and
5,791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
core/traj/** linguist-detectable=false | ||
core/geofence/** linguist-detectable=false | ||
conf/** linguist-detectable=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
set(CMAKE_C_STANDARD 11) | ||
set(CMAKE_C_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_STANDARD 11) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_VERBOSE_MAKEFILE ON) | ||
set(CMAKE_COLOR_MAKEFILE ON) | ||
|
||
project(Maestro VERSION 0.5.0) | ||
|
||
set(MAESTRO_TEST_DIR ".maestro") | ||
set(MAESTRO_JOURNAL_DIR "${MAESTRO_TEST_DIR}/journal") | ||
set(MAESTRO_TRAJ_DIR "${MAESTRO_TEST_DIR}/traj") | ||
set(MAESTRO_GEOFENCE_DIR "${MAESTRO_TEST_DIR}/geofence") | ||
|
||
# Configure structure of output | ||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) | ||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) | ||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | ||
|
||
add_subdirectory(util/C) | ||
add_subdirectory(core) | ||
add_subdirectory(modules/ScenarioControl) | ||
add_subdirectory(modules/Supervision) | ||
add_subdirectory(modules/Visualization) | ||
add_subdirectory(modules/ObjectMonitoring) | ||
|
||
# Ensure .maestro directory is created at build time in build directory | ||
add_custom_target(configurationDirectory ALL | ||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/conf | ||
${CMAKE_BINARY_DIR}/${MAESTRO_CONFIGURATION_DIR} | ||
) | ||
add_custom_target(buildTimeDirectory ALL | ||
COMMAND ${CMAKE_COMMAND} -E make_directory [ | ||
${CMAKE_BINARY_DIR}/${MAESTRO_JOURNAL_DIR} | ||
${CMAKE_BINARY_DIR}/${MAESTRO_TRAJ_DIR} | ||
${CMAKE_BINARY_DIR}/${MAESTRO_GEOFENCE_DIR} | ||
] | ||
) | ||
|
||
# Create directory for test data in user home directory | ||
install(CODE "MESSAGE(STATUS \"Creating home directory environment under $ENV{HOME}\")") | ||
install(DIRECTORY DESTINATION "$ENV{HOME}/${MAESTRO_TEST_DIR}") | ||
install(DIRECTORY DESTINATION "$ENV{HOME}/${MAESTRO_JOURNAL_DIR}") | ||
install(DIRECTORY DESTINATION "$ENV{HOME}/${MAESTRO_TRAJ_DIR}") | ||
install(DIRECTORY DESTINATION "$ENV{HOME}/${MAESTRO_GEOFENCE_DIR}") | ||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/conf DESTINATION "$ENV{HOME}/${MAESTRO_TEST_DIR}") | ||
|
||
install(CODE "execute_process(COMMAND chown -R $ENV{USER} $ENV{HOME}/${MAESTRO_TEST_DIR})") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,34 @@ | ||
|
||
pipeline { | ||
agent any | ||
|
||
options { | ||
timeout(time: 15, unit: 'MINUTES') | ||
} | ||
stages { | ||
stage('Build') { | ||
steps { | ||
sh 'echo "Executing build script..."' | ||
sh './buildMaestro.sh' | ||
} | ||
} | ||
stage('Integration testing') { | ||
steps { | ||
sh 'echo "Running Maestro integration tests..."' | ||
sh './allMaestroIntegrationTests.sh' | ||
} | ||
} | ||
stage('Format check') { | ||
steps { | ||
sh 'echo "Running code formatting check..."' | ||
sh './checkCodeFormat.sh' | ||
} | ||
} | ||
} | ||
agent any | ||
|
||
options { | ||
timeout(time: 15, unit: 'MINUTES') | ||
} | ||
stages { | ||
stage('Build') { | ||
steps { | ||
sh 'echo "Executing build steps..."' | ||
cmakeBuild cleanBuild: true, buildDir: 'build', installation: 'InSearchPath', steps: [[envVars: 'DESTDIR=${WORKSPACE}/artifacts', withCmake: true]] | ||
} | ||
} | ||
stage('Run tests') { | ||
parallel { | ||
stage('Integration tests') { | ||
steps { | ||
sh 'echo "Running Maestro integration tests..."' | ||
sh './allMaestroIntegrationTests.sh' | ||
} | ||
} | ||
stage('Format check') { | ||
steps { | ||
sh 'echo "Running code formatting check..."' | ||
sh './checkCodeFormat.sh' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
0
server/conf/adaptivesync.conf → conf/adaptivesync.conf
100755 → 100644
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#trigger_ip;trigger_type[parameter];action_ip;action_type[parameter]; |
Oops, something went wrong.