Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

67 crptg1 ci setup #69

Merged
merged 24 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build test

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-22.04
container: ros:humble-ros-base-jammy
steps:
- uses: actions/checkout@v4
- 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
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
logs/
build/
install/
install/

.vscode/
1 change: 1 addition & 0 deletions crp_APL/ctrl_vehicle_control/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ endif()
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rclpy REQUIRED)
find_package(std_msgs REQUIRED)
find_package(autoware_control_msgs REQUIRED)
find_package(pacmod3_msgs REQUIRED)
Expand Down
Empty file.
Loading