Comments (5)
@ChristianKuehnel currently this reports look like: https://reviews.llvm.org/D71594
from llvm-premerge-checks.
Recommended way to check for clang-format fixes is git clang-format
https://llvm.org/docs/GettingStarted.html#sending-patches
if it's not installed we can run clang/tools/clang-format/git-clang-format --diff
in a directory with applied patch
from llvm-premerge-checks.
to run clang-tidy:
git diff -U0 | clang-tidy-diff-8.py -p1 -clang-tidy-binary=clang-tidy-8
should do the trick given that we linked compile-commands.json
and the sources in question were involved in compile commands (looks like we have to enable other projects in cmake to make sure that we will compile diff).
from llvm-premerge-checks.
Phabricator supports displaying "lint results" (section Lint results):
https://secure.phabricator.com/conduit/method/harbormaster.sendmessage/
I have no idea what the results looks like or on how to convert the clang-tidy output to this format.
If you want to give it a shot, you can extend/rewrite/duplicate/... the script:
https://github.com/google/llvm-premerge-checks/blob/master/scripts/phabtalk/phabtalk.py
Right now the script is a quick hack to report the test results and add a comment with a short summary. This is what I needed for the compile & test scenarios.
from llvm-premerge-checks.
Windows build will be addressed separately.
from llvm-premerge-checks.
Related Issues (20)
- buildkite build premerge-checks 98677 HOT 5
- Proposal for new pre-merge check: Enforce library layering constraints
- Please add libc++ and lldb to the precommit CI pipeline for Clang HOT 14
- Precommit CI is broken again (libomptarget) HOT 4
- Precommit says bazel is failing, looks to be a config issue
- git-clang-format crash on x64_debian
- Windows Precommit CI was not updated for the recent base LLVM language version change? HOT 2
- Precommit CI appears to be entirely broken HOT 4
- clang-format debian clang pre-commit failure for changes on libcxx.
- Patch failure due to git issue
- buildkite build premerge-checks 141874 HOT 1
- The Buildkite <-> Phabricator bridge can ignore failed tests in the "unit tests" view of Harbormaster HOT 9
- buildkite build diff-checks 161247 HOT 1
- [AIX][32, 64 bit]Buildkite premerge checks for AIX 32, 64 bit not working due to insufficient space on filesystem HOT 5
- [libcxx] Generated output step is failing because of IndentationError HOT 2
- "create branch" steps takes > 15min
- libc++ CI being skipped (randomly?) but Phabricator reports a success HOT 10
- timeouts are reported as success HOT 3
- [libcxx] Generated Output step of libcxx fails on premerge checks HOT 3
- buildkite build phabricator-run-tests 174016 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llvm-premerge-checks.