-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c4c3cb
commit 04ad503
Showing
87 changed files
with
5,388 additions
and
3,145 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# General concept is strongly inspired by the industrial_ci project https://github.com/ros-industrial/industrial_ci | ||
--- | ||
variables: | ||
GIT_STRATEGY: clone | ||
|
||
stages: | ||
- build | ||
|
||
.build_matrix: | ||
parallel: | ||
matrix: | ||
- RUN_NAME: "22.04+1.4.3" # No effect on CI, just for making the gitlab pipeline view easier to read | ||
CI_IMAGE: ros:humble-ros-core-jammy | ||
IFM3D_PACKAGE_PATH: https://github.com/ifm/ifm3d/releases/download/v1.4.3/ifm3d-ubuntu-22.04-amd64-debs_1.4.3.tar | ||
ROS_DISTRO: humble | ||
- RUN_NAME: "22.04+1.5.0" | ||
CI_IMAGE: ros:humble-ros-core-jammy | ||
IFM3D_PACKAGE_PATH: https://github.com/ifm/ifm3d/releases/download/v1.5.0/ifm3d-ubuntu-22.04-amd64-debs_1.5.0.tar | ||
ROS_DISTRO: humble | ||
- RUN_NAME: "22.04+1.5.1" | ||
CI_IMAGE: ros:humble-ros-core-jammy | ||
IFM3D_PACKAGE_PATH: https://github.com/ifm/ifm3d/releases/download/v1.5.1/ifm3d-ubuntu-22.04-amd64-debs_1.5.1.tar | ||
ROS_DISTRO: humble | ||
- RUN_NAME: "22.04+1.5.2" | ||
CI_IMAGE: ros:humble-ros-core-jammy | ||
IFM3D_PACKAGE_PATH: https://github.com/ifm/ifm3d/releases/download/v1.5.2/ifm3d-ubuntu-22.04-amd64-debs_1.5.2.tar | ||
ROS_DISTRO: humble | ||
- RUN_NAME: "22.04+1.5.3" | ||
CI_IMAGE: ros:humble-ros-core-jammy | ||
IFM3D_PACKAGE_PATH: https://github.com/ifm/ifm3d/releases/download/v1.5.3/ifm3d-ubuntu-22.04-amd64-debs_1.5.3.tar | ||
ROS_DISTRO: humble | ||
|
||
- RUN_NAME: "24.04+1.5.3" | ||
CI_IMAGE: ros:jazzy-ros-core-noble | ||
IFM3D_PACKAGE_PATH: https://github.com/ifm/ifm3d/releases/download/v1.5.3/ifm3d-ubuntu-22.04-amd64-debs_1.5.3.tar | ||
ROS_DISTRO: jazzy | ||
|
||
|
||
build: # very short job name to keep the pipeline preview readable on Gitlab | ||
stage: build | ||
image: $CI_IMAGE | ||
parallel: !reference [.build_matrix,parallel] | ||
|
||
before_script: | ||
# Download the released version ofifm3d from github | ||
- apt-get update | ||
- apt-get install -y curl | ||
- curl --location $IFM3D_PACKAGE_PATH | tar x | ||
# Install dependencies | ||
- apt-get install -y libboost-all-dev git libcurl4-openssl-dev libgtest-dev libgoogle-glog-dev | ||
libxmlrpc-c++8-dev libopencv-dev libpcl-dev libproj-dev python3-dev python3-pip build-essential | ||
coreutils findutils cmake locales ninja-build | ||
# Install ifm3d packages | ||
- dpkg -i ./ifm3d_*.deb | ||
# Cleanup | ||
- rm ifm3d_*.deb | ||
|
||
script: | ||
# Install some dependencies, update rosdep | ||
- apt-get update | ||
- apt-get install -y ros-dev-tools | ||
- rosdep init || true # init needed for 22.04 image but throws error on 24.04; error can be ignored | ||
- rosdep update > /dev/null | ||
# Create Workspace and copy sources | ||
- mkdir -p /root/target_ws/src | ||
- cp -r . /root/target_ws/src | ||
- cd /root/target_ws/ | ||
# Install dependencies, build workspace and run tests | ||
- source /opt/ros/$ROS_DISTRO/setup.bash | ||
- rosdep install --from-paths /root/target_ws/src --ignore-src -y | ||
- colcon build --event-handlers desktop_notification- status- terminal_title- --cmake-args -DENABLE_COVERAGE_TESTING=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON | ||
- colcon test --event-handlers desktop_notification- status- terminal_title- console_cohesion+ --executor sequential --ctest-args -j1 |
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,85 @@ | ||
{ | ||
"files.associations": { | ||
"cctype": "cpp", | ||
"clocale": "cpp", | ||
"cmath": "cpp", | ||
"csignal": "cpp", | ||
"cstdarg": "cpp", | ||
"cstddef": "cpp", | ||
"cstdio": "cpp", | ||
"cstdlib": "cpp", | ||
"cstring": "cpp", | ||
"ctime": "cpp", | ||
"cwchar": "cpp", | ||
"cwctype": "cpp", | ||
"any": "cpp", | ||
"array": "cpp", | ||
"atomic": "cpp", | ||
"strstream": "cpp", | ||
"bit": "cpp", | ||
"*.tcc": "cpp", | ||
"bitset": "cpp", | ||
"chrono": "cpp", | ||
"codecvt": "cpp", | ||
"compare": "cpp", | ||
"complex": "cpp", | ||
"concepts": "cpp", | ||
"condition_variable": "cpp", | ||
"coroutine": "cpp", | ||
"cstdint": "cpp", | ||
"deque": "cpp", | ||
"forward_list": "cpp", | ||
"list": "cpp", | ||
"map": "cpp", | ||
"set": "cpp", | ||
"string": "cpp", | ||
"unordered_map": "cpp", | ||
"unordered_set": "cpp", | ||
"vector": "cpp", | ||
"exception": "cpp", | ||
"algorithm": "cpp", | ||
"functional": "cpp", | ||
"iterator": "cpp", | ||
"memory": "cpp", | ||
"memory_resource": "cpp", | ||
"numeric": "cpp", | ||
"optional": "cpp", | ||
"random": "cpp", | ||
"ratio": "cpp", | ||
"regex": "cpp", | ||
"source_location": "cpp", | ||
"string_view": "cpp", | ||
"system_error": "cpp", | ||
"tuple": "cpp", | ||
"type_traits": "cpp", | ||
"utility": "cpp", | ||
"fstream": "cpp", | ||
"future": "cpp", | ||
"initializer_list": "cpp", | ||
"iomanip": "cpp", | ||
"iosfwd": "cpp", | ||
"iostream": "cpp", | ||
"istream": "cpp", | ||
"limits": "cpp", | ||
"mutex": "cpp", | ||
"new": "cpp", | ||
"numbers": "cpp", | ||
"ostream": "cpp", | ||
"ranges": "cpp", | ||
"semaphore": "cpp", | ||
"shared_mutex": "cpp", | ||
"span": "cpp", | ||
"sstream": "cpp", | ||
"stdexcept": "cpp", | ||
"stop_token": "cpp", | ||
"streambuf": "cpp", | ||
"thread": "cpp", | ||
"cfenv": "cpp", | ||
"cinttypes": "cpp", | ||
"typeindex": "cpp", | ||
"typeinfo": "cpp", | ||
"valarray": "cpp", | ||
"variant": "cpp", | ||
"*.ipp": "cpp" | ||
} | ||
} |
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
Oops, something went wrong.