Skip to content

Commit

Permalink
Merge pull request #69 from jkk-research/67-crptg1-ci-setup
Browse files Browse the repository at this point in the history
67 crptg1 ci setup
  • Loading branch information
mesmatyi authored Nov 14, 2024
2 parents a24728f + d6fd3ae commit a6c36fa
Show file tree
Hide file tree
Showing 18 changed files with 1,495 additions and 5 deletions.
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

0 comments on commit a6c36fa

Please sign in to comment.