Jazzy Stack Build #872
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: Jazzy Stack Build | |
| # author: Christoph Froehlich <christoph.froehlich@ait.ac.at> | |
| # description: 'Build & test all dependencies from released (binary) packages.' | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/jazzy-binary-build.yml' | |
| - '.github/workflows/reusable-industrial-ci-with-cache.yml' | |
| - 'ros_controls.jazzy.repos' | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '.github/workflows/jazzy-binary-build.yml' | |
| - '.github/workflows/reusable-industrial-ci-with-cache.yml' | |
| - 'ros_controls.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@v7 | |
| - 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: | |
| 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.${{ matrix.ROS_DISTRO }}.repos | |
| ref_for_scheduled_build: master |