diff --git a/.github/workflows/humble-debian-build.yml b/.github/workflows/humble-debian-build.yml new file mode 100644 index 00000000000..0c49493f7aa --- /dev/null +++ b/.github/workflows/humble-debian-build.yml @@ -0,0 +1,33 @@ +name: Humble debian Build +on: + workflow_dispatch: + push: + branches: + - humble + pull_request: + branches: + - humble + 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 --input https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/ros2_control.${{ env.ROS_DISTRO }}.repos?token=${{ secrets.GITHUB_TOKEN }} src + colcon build --packages-skip rqt_controller_manager + colcon test --packages-skip rqt_controller_manager ros2controlcli + colcon test-result diff --git a/.github/workflows/iron-debian-build.yml b/.github/workflows/iron-debian-build.yml new file mode 100644 index 00000000000..49c836718bb --- /dev/null +++ b/.github/workflows/iron-debian-build.yml @@ -0,0 +1,33 @@ +name: Iron debian Build +on: + workflow_dispatch: + push: + branches: + - iron + 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 --input https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/ros2_control.${{ env.ROS_DISTRO }}.repos?token=${{ secrets.GITHUB_TOKEN }} src + colcon build --packages-skip rqt_controller_manager + colcon test --packages-skip rqt_controller_manager ros2controlcli + colcon test-result