|
| 1 | +name: Rolling Downstream Build |
| 2 | +# description: 'Build & test downstream packages from source.' |
| 3 | +# author: Christoph Froehlich <[email protected]> |
| 4 | + |
| 5 | +on: |
| 6 | + workflow_dispatch: |
| 7 | + pull_request: |
| 8 | + branches: |
| 9 | + - master |
| 10 | + paths: |
| 11 | + - '**.hpp' |
| 12 | + - '**.h' |
| 13 | + - '**.cpp' |
| 14 | + - '**.py' |
| 15 | + - '**.yaml' |
| 16 | + - '.github/workflows/rolling-semi-binary-downstream-build.yml' |
| 17 | + - '**/package.xml' |
| 18 | + - '**/CMakeLists.txt' |
| 19 | + - 'ros_controls.rolling.repos' |
| 20 | + |
| 21 | +concurrency: |
| 22 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 23 | + cancel-in-progress: true |
| 24 | + |
| 25 | +jobs: |
| 26 | + build-downstream: |
| 27 | + uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master |
| 28 | + strategy: |
| 29 | + fail-fast: false |
| 30 | + matrix: |
| 31 | + ROS_DISTRO: [rolling] |
| 32 | + with: |
| 33 | + ros_distro: ${{ matrix.ROS_DISTRO }} |
| 34 | + ros_repo: testing |
| 35 | + ref_for_scheduled_build: master |
| 36 | + upstream_workspace: ros2_control.${{ matrix.ROS_DISTRO }}.repos |
| 37 | + # we don't test this repository, we just build it |
| 38 | + not_test_build: true |
| 39 | + # we test the downstream packages, which are part of our organization |
| 40 | + downstream_workspace: ros_controls.${{ matrix.ROS_DISTRO }}.repos |
| 41 | + not_test_downstream: false |
| 42 | + build-downstream-3rd-party: |
| 43 | + uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master |
| 44 | + strategy: |
| 45 | + fail-fast: false |
| 46 | + matrix: |
| 47 | + ROS_DISTRO: [rolling] |
| 48 | + with: |
| 49 | + ros_distro: ${{ matrix.ROS_DISTRO }} |
| 50 | + ros_repo: testing |
| 51 | + ref_for_scheduled_build: master |
| 52 | + upstream_workspace: ros2_control.${{ matrix.ROS_DISTRO }}.repos |
| 53 | + # we don't test this repository, we just build it |
| 54 | + not_test_build: true |
| 55 | + # we don't test the downstream packages, which are outside of our organization |
| 56 | + downstream_workspace: downstream.${{ matrix.ROS_DISTRO }}.repos |
| 57 | + not_test_downstream: true |
0 commit comments