- Updated `.gitlab-ci.yml` to use `all-deps.repos` and install additional Python dependencies via `requirements.txt`. - Enhanced `Dockerfile` with better dependency management: - Added `SHELL` declaration for consistent script execution. - Installed `libgeos-dev` for geometry processing. - Included `python3-rosdep` and `python3-colcon-common-extensions` for ROS2 tooling. - Streamlined ROS2 and dependency installation steps. - Refined `requirements.txt` to adjust package versions and include new dependencies such as `tensorflow` and `torch`. - Updated repository URL for `rbs_assets_library` in `requirements.txt`. These changes improve dependency resolution, enhance build reproducibility, and align with updated requirements.
25 lines
672 B
YAML
25 lines
672 B
YAML
image: ros:humble-ros-base
|
|
|
|
workflow:
|
|
rules:
|
|
- if: '$CI_COMMIT_BRANCH'
|
|
when: never
|
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
|
|
|
stages:
|
|
- build
|
|
|
|
build-colcon-job:
|
|
stage: build
|
|
script:
|
|
- apt-get update
|
|
- mkdir -p .src/robossembler-ros2
|
|
- mv * .src/robossembler-ros2
|
|
- mv .git .src/robossembler-ros2
|
|
- mv .src src
|
|
- vcs import src < robossembler-ros2/repos/all-deps.repos
|
|
- pip install -r src/robossembler-ros2/repos/requirements.txt
|
|
- rosdep install -y -r -q --from-paths src --ignore-src --rosdistro humble
|
|
- colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|