Skip to content

Propagate the Buildkite pre-merge setup to GitHub Action #3

Propagate the Buildkite pre-merge setup to GitHub Action

Propagate the Buildkite pre-merge setup to GitHub Action #3

Workflow file for this run

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