From e6827d1246ff7f528bc8d778a38e5cdeb3736db9 Mon Sep 17 00:00:00 2001 From: H1rono Date: Wed, 29 May 2024 06:30:10 +0900 Subject: [PATCH] Setup ROS2 build in GitHub Actions --- .github/workflows/build.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f56655a..cfeaf2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,16 @@ on: jobs: build: runs-on: ubuntu-latest + container: ros:iron-ros-base-jammy + defaults: + run: + shell: bash steps: - uses: actions/checkout@v4 - # TODO + with: + path: src/2024_cavolinia + - run: | + . /opt/ros/iron/setup.bash + rosdep update + rosdep install -i --from-paths src --rosdistro iron -y + colcon build