From 61878c02b1f97791cf187379d4972920f8425671 Mon Sep 17 00:00:00 2001 From: lukeschmitt-tr <85308904+lukeschmitt-tr@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:34:49 -0500 Subject: [PATCH] [.github] Add general humble workflow (#57) * Add general humble workflow * Minor ordering change * Fix container * Run on 22.04, no container * Use industrial ci instead of ros-tooling * Install dependencies * Fix error * Use sudo * Update some dependencies * Additional dependencies * Remove (likely unneeded deps) * Fully remove deps * Set some hidapi cmake variables * Use cmake to find hidapi, libusb * Simplify cmake modules * Remove now-unused hidapi submodule --- .github/workflows/humble.yml | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/humble.yml diff --git a/.github/workflows/humble.yml b/.github/workflows/humble.yml new file mode 100644 index 0000000..9cd317d --- /dev/null +++ b/.github/workflows/humble.yml @@ -0,0 +1,37 @@ +name: build-humble + +on: + push: + branches: + - humble + pull_request: + branches: + - humble + workflow_dispatch: + +# Limit jobs run by PRs or branches by cancelling ongoing jobs +# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-and-the-default-behavior +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + humble: + strategy: + matrix: + env: + - {ROS_DISTRO: humble, ROS_REPO: main} + - {ROS_DISTRO: humble, ROS_REPO: testing} + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Prepare Workspace + run: | + rm \ + interbotix_ros_common_drivers/COLCON_IGNORE \ + interbotix_ros_slate/COLCON_IGNORE \ + interbotix_ros_xseries/COLCON_IGNORE + - uses: ros-industrial/industrial_ci@master + env: ${{matrix.env}}