From 3970b0d65d808c5b2a27d613d570d9aec9c202f7 Mon Sep 17 00:00:00 2001 From: Luke Schmitt Date: Wed, 26 Jun 2024 00:53:07 +0000 Subject: [PATCH 1/4] Add generic humble workflow --- .github/workflows/humble.yaml | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/humble.yaml diff --git a/.github/workflows/humble.yaml b/.github/workflows/humble.yaml new file mode 100644 index 0000000..3d2de58 --- /dev/null +++ b/.github/workflows/humble.yaml @@ -0,0 +1,52 @@ +name: build-xs-humble + +on: + push: + branches: + - humble + pull_request: + branches: + - humble + workflow_dispatch: + +defaults: + run: + shell: bash + +jobs: + xs-humble: + strategy: + matrix: + env: + - {ROS_DISTRO: humble, ROS_REPO: main} + runs-on: ubuntu-22.04 + env: + CCACHE_DIR: "${{ github.workspace }}/.ccache" + steps: + - name: Checkout ROS Toolboxes + uses: actions/checkout@v3 + with: + submodules: recursive + path: src/interbotix_ros_toolboxes + - name: Checkout ROS Core + uses: actions/checkout@v3 + with: + repository: interbotix/interbotix_ros_core + ref: humble + submodules: recursive + path: src/interbotix_ros_core + - name: Install non-rosdep Python dependencies + run: python3 -m pip install modern-robotics transforms3d + - name: Prepare Workspace + run: | + rm src/interbotix_ros_core/interbotix_ros_common_drivers/COLCON_IGNORE || : + rm src/interbotix_ros_core/interbotix_ros_slate/COLCON_IGNORE || : + rm src/interbotix_ros_core/interbotix_ros_xseries/COLCON_IGNORE || : + rm src/interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_moveit_interface_msgs/COLCON_IGNORE + rm src/interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_moveit_interface/COLCON_IGNORE + rm src/interbotix_ros_toolboxes/interbotix_io_toolbox/COLCON_IGNORE + rm src/interbotix_ros_toolboxes/interbotix_perception_toolbox/COLCON_IGNORE + - name: ROS-I CI + uses: ros-industrial/industrial_ci@master + with: + config: ${{toJSON(matrix.env)}} From b2f441fdcc0c73ab5f15b619540b66855db69278 Mon Sep 17 00:00:00 2001 From: Luke Schmitt Date: Wed, 26 Jun 2024 00:53:59 +0000 Subject: [PATCH 2/4] Fix typos --- .github/workflows/humble.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/humble.yaml b/.github/workflows/humble.yaml index 3d2de58..6898758 100644 --- a/.github/workflows/humble.yaml +++ b/.github/workflows/humble.yaml @@ -1,4 +1,4 @@ -name: build-xs-humble +name: humble on: push: @@ -14,7 +14,7 @@ defaults: shell: bash jobs: - xs-humble: + humble: strategy: matrix: env: From 3bcd71abce5268dbe7312dcd4bf6a61393a2fadd Mon Sep 17 00:00:00 2001 From: Luke Schmitt Date: Wed, 26 Jun 2024 01:19:14 +0000 Subject: [PATCH 3/4] Remove required ignore files --- .github/workflows/humble.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/humble.yaml b/.github/workflows/humble.yaml index 6898758..4ad362c 100644 --- a/.github/workflows/humble.yaml +++ b/.github/workflows/humble.yaml @@ -39,9 +39,10 @@ jobs: run: python3 -m pip install modern-robotics transforms3d - name: Prepare Workspace run: | - rm src/interbotix_ros_core/interbotix_ros_common_drivers/COLCON_IGNORE || : - rm src/interbotix_ros_core/interbotix_ros_slate/COLCON_IGNORE || : - rm src/interbotix_ros_core/interbotix_ros_xseries/COLCON_IGNORE || : + rm src/interbotix_ros_core/interbotix_ros_common_drivers/COLCON_IGNORE + rm src/interbotix_ros_core/interbotix_ros_slate/COLCON_IGNORE + rm src/interbotix_ros_core/interbotix_ros_xseries/COLCON_IGNORE + rm src/interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_landmark_modules/COLCON_IGNORE rm src/interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_moveit_interface_msgs/COLCON_IGNORE rm src/interbotix_ros_toolboxes/interbotix_common_toolbox/interbotix_moveit_interface/COLCON_IGNORE rm src/interbotix_ros_toolboxes/interbotix_io_toolbox/COLCON_IGNORE From 9018f0fba9b21bfa81243ac42179a5843103431d Mon Sep 17 00:00:00 2001 From: Luke Schmitt Date: Wed, 26 Jun 2024 01:26:53 +0000 Subject: [PATCH 4/4] Specify container --- .github/workflows/humble.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/humble.yaml b/.github/workflows/humble.yaml index 4ad362c..3954018 100644 --- a/.github/workflows/humble.yaml +++ b/.github/workflows/humble.yaml @@ -20,6 +20,8 @@ jobs: env: - {ROS_DISTRO: humble, ROS_REPO: main} runs-on: ubuntu-22.04 + container: + image: ubuntu:jammy env: CCACHE_DIR: "${{ github.workspace }}/.ccache" steps: