Skip to content

Simple build command #11

Simple build command

Simple build command #11

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/
- name: copy the package to the workspace
run: cp -r crp_APL crp_CIL/ crp_VIL/ doc/ external/ scripts/ ros2_ws/src
- name: APt update
run: apt update
- 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 && colcon build