forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP][libc++] Move the check-generated-files job to Github Actions
This allows running these quick checks faster than in our Buildkite pipeline, which has much more latency.
- Loading branch information
Showing
2 changed files
with
29 additions
and
18 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,29 @@ | ||
name: "Check libc++ generated files" | ||
on: | ||
pull_request_target: | ||
paths: | ||
- 'libcxx/**' | ||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
code_formatter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch LLVM sources | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Install clang-format | ||
uses: aminya/setup-cpp@v1 | ||
with: | ||
clangformat: 17.0.1 | ||
|
||
- name: Install Ninja | ||
uses: seanmiddleditch/gha-setup-ninja@master | ||
with: | ||
destination: build/ninja-install | ||
|
||
- name: Check generated files | ||
run: libcxx/utils/ci/run-buildbot check-generated-output |
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