-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate the Buildkite pre-merge setup to GitHub Action
This is a WIP, the Buildkite script is .ci/generate-buildkite-pipeline-premerge
- Loading branch information
Showing
5 changed files
with
116 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
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 | ||
projects: bolt;lld;llvm | ||
os_list: '["ubuntu-latest"]' # tests are not supported yet on Windows |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Flang Tests | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'flang/**' | ||
- '.github/workflows/flang-tests.yml' | ||
- '.github/workflows/llvm-project-tests.yml' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'flang/**' | ||
- '.github/workflows/flang-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-flang | ||
projects: flang;clang |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: MLIR Tests | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'mlir/**' | ||
- '.github/workflows/mlir-tests.yml' | ||
- '.github/workflows/llvm-project-tests.yml' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'mlir/**' | ||
- '.github/workflows/mlir-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-mlir check-flang | ||
projects: mlir;flang;clang |