From 4a084f330e69272ede72bcfd163c7ce7340b0750 Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Mon, 5 Aug 2024 21:58:28 -0400 Subject: [PATCH 1/3] switch non testing build to devel --- .github/workflows/basic-build-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/basic-build-ci.yaml b/.github/workflows/basic-build-ci.yaml index 759927eef..bf686ea68 100644 --- a/.github/workflows/basic-build-ci.yaml +++ b/.github/workflows/basic-build-ci.yaml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false container: - image: osrf/ros2:testing + image: osrf/ros2:devel steps: - name: Checkout repo uses: actions/checkout@v4 From 18e83802b0e5a78b33b06e7bbefbe11b1639cc93 Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Mon, 5 Aug 2024 22:07:48 -0400 Subject: [PATCH 2/3] ROS_DISTRO not defined in workspace? --- .github/workflows/basic-build-ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/basic-build-ci.yaml b/.github/workflows/basic-build-ci.yaml index bf686ea68..de3b63eb4 100644 --- a/.github/workflows/basic-build-ci.yaml +++ b/.github/workflows/basic-build-ci.yaml @@ -23,16 +23,16 @@ jobs: mv src_tmp/ src/ - name: Install Prerequisites run: | - bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \ + bash -c 'source /opt/ros/rolling/setup.bash; \ apt-get update && apt-get upgrade -y && rosdep update; \ rosdep install --from-paths src --ignore-src -y' - name: Build Workspace run: | - bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \ + bash -c 'source /opt/ros/rolling/setup.bash; \ colcon build' - name: Run Tests run: | - bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \ + bash -c 'source /opt/ros/rolling/setup.bash; \ colcon test; \ colcon test-result --verbose' build-rolling-testing: From 3efb4c39f8949ceda06758b208f56da772bb67bd Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Mon, 5 Aug 2024 22:09:59 -0400 Subject: [PATCH 3/3] define for rosdep --- .github/workflows/basic-build-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/basic-build-ci.yaml b/.github/workflows/basic-build-ci.yaml index de3b63eb4..dee47c813 100644 --- a/.github/workflows/basic-build-ci.yaml +++ b/.github/workflows/basic-build-ci.yaml @@ -25,7 +25,7 @@ jobs: run: | bash -c 'source /opt/ros/rolling/setup.bash; \ apt-get update && apt-get upgrade -y && rosdep update; \ - rosdep install --from-paths src --ignore-src -y' + rosdep install --from-paths src --ignore-src --rosdistro=rolling -y' - name: Build Workspace run: | bash -c 'source /opt/ros/rolling/setup.bash; \