Skip to content

Check for build fail #17

Check for build fail

Check for build fail #17

Workflow file for this run

name: Build test
on:
push:
branches:
- main
- 67-crptg1-ci-setup
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
container: ros:humble-ros-base-jammy
steps:
- uses: actions/checkout@v3
- name: create a ros2 workspace
run: mkdir -p ros2_ws/src
- name: Off secrets
run: git config --global --add safe.directory '*'
- name: Pull selectes submoules
run: git submodule update --init --recursive external/autoware_msgs/ external/tier4_autoware_msgs/ crp_APL/planners/plan_lat_lane_follow_ldm/src/functionCode/
- name: copy the package to the workspace
run: cp -r crp_APL crp_CIL/ crp_VIL/ doc/ external/ scripts/ ros2_ws/src
- name: pacmod3 install
run: apt install apt-transport-https && sudo sh -c 'echo "deb [trusted=yes] https://s3.amazonaws.com/autonomoustuff-repo/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/autonomoustuff-public.list' && apt update && apt install -y ros-humble-pacmod3
- name: install dependencies
run: cd ros2_ws && source /opt/ros/humble/setup.bash && rosdep update && rosdep install --from-paths src --ignore-src -r -y
shell: bash
- name: build the workspace
run: cd ros2_ws && source /opt/ros/humble/setup.bash && colcon build
shell: bash