refactor github workflow: avoid conflicts during MPI coverage file co… #1350
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: Build application | |
on: | |
push: | |
pull_request: | |
merge_group: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: >- | |
${{ github.ref != 'refs/heads/master' && | |
github.event_name != 'merge_group' && | |
!startsWith(github.ref, 'refs/heads/gh-readonly-queue') }} | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
ubuntu: | |
needs: | |
- lint | |
uses: ./.github/workflows/ubuntu.yml | |
mac: | |
needs: | |
- lint | |
uses: ./.github/workflows/mac.yml | |
windows: | |
needs: | |
- lint | |
uses: ./.github/workflows/windows.yml | |
perf: | |
needs: | |
- ubuntu | |
- mac | |
- windows | |
uses: ./.github/workflows/perf.yml | |
pages: | |
needs: | |
- perf | |
uses: ./.github/workflows/pages.yml |