From b58d01f7fea514db20c40e49fdc88c0c49fd5bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Tue, 23 Jan 2024 10:41:00 +0100 Subject: [PATCH] [CI] Add debian source build job (#1310) (cherry picked from commit 2e0f8411f664a1fc5869283efb6e8bb9f48a2c51) --- .github/workflows/humble-debian-build.yml | 27 +++++++++++++++++++ .github/workflows/iron-debian-build.yml | 30 ++++++++++++++++++++++ .github/workflows/rolling-debian-build.yml | 30 ++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 .github/workflows/humble-debian-build.yml create mode 100644 .github/workflows/iron-debian-build.yml create mode 100644 .github/workflows/rolling-debian-build.yml diff --git a/.github/workflows/humble-debian-build.yml b/.github/workflows/humble-debian-build.yml new file mode 100644 index 0000000000..8206528fb4 --- /dev/null +++ b/.github/workflows/humble-debian-build.yml @@ -0,0 +1,27 @@ +name: Debian Humble Build +on: + workflow_dispatch: + schedule: + # Run every day to detect flakiness and broken dependencies + - cron: '03 1 * * *' + + +jobs: + humble_debian: + name: Humble debian build + runs-on: ubuntu-latest + env: + ROS_DISTRO: humble + container: ghcr.io/christophfroehlich/ros:humble-debian + steps: + - uses: actions/checkout@v4 + with: + path: src/ros2_control + - name: Build and test + shell: bash + run: | + source /opt/ros2_ws/install/setup.bash + vcs import src < src/ros2_control/ros2_control.${{ env.ROS_DISTRO }}.repos + colcon build --packages-skip rqt_controller_manager + colcon test --packages-skip rqt_controller_manager control_msgs controller_manager_msgs + colcon test-result --verbose diff --git a/.github/workflows/iron-debian-build.yml b/.github/workflows/iron-debian-build.yml new file mode 100644 index 0000000000..57dc7f578f --- /dev/null +++ b/.github/workflows/iron-debian-build.yml @@ -0,0 +1,30 @@ +name: Debian Iron Build +on: + workflow_dispatch: + pull_request: + branches: + - iron + schedule: + # Run every day to detect flakiness and broken dependencies + - cron: '03 1 * * *' + + +jobs: + iron_debian: + name: Iron debian build + runs-on: ubuntu-latest + env: + ROS_DISTRO: iron + container: ghcr.io/christophfroehlich/ros:iron-debian + steps: + - uses: actions/checkout@v4 + with: + path: src/ros2_control + - name: Build and test + shell: bash + run: | + source /opt/ros2_ws/install/setup.bash + vcs import src < src/ros2_control/ros2_control.${{ env.ROS_DISTRO }}.repos + colcon build --packages-skip rqt_controller_manager + colcon test --packages-skip rqt_controller_manager control_msgs controller_manager_msgs + colcon test-result --verbose diff --git a/.github/workflows/rolling-debian-build.yml b/.github/workflows/rolling-debian-build.yml new file mode 100644 index 0000000000..a86c287d95 --- /dev/null +++ b/.github/workflows/rolling-debian-build.yml @@ -0,0 +1,30 @@ +name: Debian Rolling Build +on: + workflow_dispatch: + pull_request: + branches: + - master + schedule: + # Run every day to detect flakiness and broken dependencies + - cron: '03 1 * * *' + + +jobs: + rolling_debian: + name: Rolling debian build + runs-on: ubuntu-latest + env: + ROS_DISTRO: rolling + container: ghcr.io/christophfroehlich/ros:rolling-debian + steps: + - uses: actions/checkout@v4 + with: + path: src/ros2_control + - name: Build and test + shell: bash + run: | + source /opt/ros2_ws/install/setup.bash + vcs import src < src/ros2_control/ros2_control.${{ env.ROS_DISTRO }}.repos + colcon build --packages-skip rqt_controller_manager + colcon test --packages-skip rqt_controller_manager + colcon test-result --verbose