Check Rolling Compatibility on Jazzy #837
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check Rolling Compatibility on Jazzy | |
| # author: Christoph Froehlich <christoph.froehlich@ait.ac.at> | |
| # description: 'Build & test the rolling stack on Jazzy distro.' | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/rolling-compatibility-jazzy-binary-build.yml' | |
| - '.github/workflows/reusable-industrial-ci-with-cache.yml' | |
| - 'ros_controls.rolling-on-jazzy.repos' | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '.github/workflows/rolling-compatibility-jazzy-binary-build.yml' | |
| - '.github/workflows/reusable-industrial-ci-with-cache.yml' | |
| - 'ros_controls.rolling-on-jazzy.repos' | |
| schedule: | |
| # Run every morning to detect flakiness and broken dependencies | |
| - cron: '03 1 * * *' | |
| concurrency: | |
| # cancel previous runs of the same workflow, except for pushes on given branches | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }} | |
| jobs: | |
| stack-build-gate: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| skip_stack_build: ${{ steps.gate.outputs.skip_stack_build }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Evaluate stack build gate | |
| id: gate | |
| uses: ./.github/actions/stack-build-gate | |
| with: | |
| blocked_paths: | | |
| - '.github/workflows/build_and_publish_ubuntu_docker.yaml' | |
| - 'ros2_ubuntu/**' | |
| stack-build-on-jazzy: | |
| needs: stack-build-gate | |
| if: ${{ needs.stack-build-gate.outputs.skip_stack_build != 'true' }} | |
| uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ROS_DISTRO: [jazzy] | |
| ROS_REPO: [main, testing] | |
| with: | |
| ros_distro: ${{ matrix.ROS_DISTRO }} | |
| ros_repo: ${{ matrix.ROS_REPO }} | |
| target_workspace: ros_controls.rolling-on-jazzy.repos | |
| ref_for_scheduled_build: master |