Propagate the Buildkite pre-merge setup to GitHub Action #3
Workflow file for this run
This file contains 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: Bolt Tests | |
permissions: | |
contents: read | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'bolt/**' | |
- '.github/workflows/bolt-tests.yml' | |
- '.github/workflows/llvm-project-tests.yml' | |
pull_request: | |
branches: | |
- 'main' | |
paths: | |
- 'bolt/**' | |
- '.github/workflows/bolt-tests.yml' | |
- '.github/workflows/llvm-project-tests.yml' | |
concurrency: | |
# Skip intermediate builds: always. | |
# Cancel intermediate builds: only if it is a pull request build. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
jobs: | |
check-all: | |
if: github.repository_owner == 'llvm' | |
name: Build and Test | |
uses: ./.github/workflows/llvm-project-tests.yml | |
with: | |
build_target: check-bolt check-lld | |
projects: bolt;lld;llvm | |
os_list: '["ubuntu-latest"]' # tests are not supported yet on Windows |