1
0
Fork 0
Commit graph

70 commits

Author SHA1 Message Date
Mikhail Goncharov
70df407e0e Add name of build agent to summary 2020-02-19 17:48:51 +01:00
Christian Kühnel
a0bc500ac1 removed windows trigger 2020-02-17 16:22:41 +00:00
Mikhail Goncharov
5defc34e6a fix pipeline 2020-02-07 14:01:46 +01:00
Mikhail Goncharov
6b6558e22c Add reason of failure on top of summary 2020-02-07 12:30:39 +01:00
Mikhail Goncharov
b30a632bf2 temporary disable triggering win build 2020-02-05 16:21:50 +01:00
Mikhail Goncharov
0a636404c6 create build directory after applying patch 2020-02-05 15:34:17 +01:00
Mikhail Goncharov
ac2fcc5944 use new apply-patch for linux 2020-02-05 10:13:45 +01:00
Christian Kühnel
66f3d3ddc4 logging details on clang tools versions 2020-01-27 15:27:00 +01:00
Mikhail Goncharov
bf98f92a3d print current git commit info on checkout and while applying patch 2020-01-23 09:32:45 +01:00
Mikhail Goncharov
276978ff1f Ignore selected paths for clang-format and clang-tidy
Now clang-format report will skip files matching `clang-format.ignore`.
For now it's empty.

clang-tidy will not receive diffs for `clang-tidy.ignore` (it still can
produce warnings for these files).
In addition build bot will not will not post comments for files
that are matched by `clang-tidy-comments.ignore`. Now project/file should
be whitelisted to receive inline comments from clang-tidy.

Added all /test directories to `clang-tidy.ignore`.

Other alternatives considered:

- using 'compile_commands.json': does not contain header files.
- specifying -regex option to 'clang-tidy-diff': probably not the best
  experience of providing multiple rules and maintaining a single regex.
2020-01-22 19:05:36 +01:00
Christian Kühnel
aa8476d76a changed location for trigger 2020-01-20 15:04:56 +01:00
Christian Kühnel
6b1e8a85d1 added commas 2020-01-20 15:00:26 +01:00
Christian Kühnel
c5dfed0000 triggering win build from phab job 2020-01-20 14:53:17 +01:00
Mikhail Goncharov
2b8ad25ec1 global success should be defined outside 2019-12-18 18:23:13 +01:00
Mikhail Goncharov
89e7c8ad24 Don't fail buildif ninja all / check all has failed 2019-12-18 08:57:29 +01:00
Mikhail Goncharov
b845be0b70
Merge pull request #81 from google/clang-tidy
Run clang-tidy and parse message
2019-12-17 11:01:36 +01:00
Mikhail Goncharov
453aa2ae84 Run clang-tidy and parse message
+ don't assume that clang-format has passed if there is no file.
  If linters didn't run at all file will be missing.
+ add "gray" icon for the result if it's unknown.
+ assume whole build is failed if clang-format or clang-tidy found something.
+ combine multiple lint messages per line.
2019-12-17 11:00:30 +01:00
Mikhail Goncharov
52547e42a3
Report installed packages 2019-12-13 09:43:07 +01:00
Mikhail Goncharov
4762ba5c3f Resolve phabricator diff id and add link in description 2019-12-12 09:40:31 +01:00
Mikhail Goncharov
8d390ff370 Refactor Phabricator report construction
Now report is constructed by adding more data from several stages and
represents internal structure rather what API expects.

+ Made all function that don't interact with phabricator free standing
+ Now links list all files in results directory
+ Status icons

Example comment: https://reviews.llvm.org/D71197#1779176 (links don't work).
2019-12-11 14:36:20 +01:00
Mikhail Goncharov
e06b9c2dcd add diff id to build name 2019-12-11 13:49:50 +01:00
Mikhail Goncharov
a3cb3b11d3 fix call to phabtalk.py 2019-12-11 13:45:25 +01:00
Mikhail Goncharov
4577fa81cd fix call to phabtalk.py 2019-12-11 13:27:36 +01:00
Christian Kühnel
87bf3c2601 added missing quote 2019-12-11 13:07:49 +01:00
Christian Kühnel
164610f284 fixed duplicate variable declaration
to fix failing build: https://jenkins.llvm-merge-guard.org/job/amd64_debian_testing_clang8/432/console
2019-12-11 13:04:36 +01:00
Mikhail Goncharov
7faaec98e7 Attach diffs produced by git-clang-format as lint messages.
E.g.: https://reviews.llvm.org/D71197?id=233029
Will add a link to file and code to apply the patch in the next PR.

+ don't create TARGET_DIR in scripts;
+ updated section about local build;
+ partially specified inputs / outputs of scripts so it's more transparent what are the results;
+ added symlink to compile_command.json (clang-tidy will need it);
+ add IDEA files to .gitignore.
2019-12-11 08:55:38 +01:00
Christian Kühnel
6708a6a900 Improved error messages for apply_patch
fixes #56
2019-11-22 10:42:51 +01:00
Christian Kühnel
3d7a472c4d changed quotes for variable expansion 2019-11-21 15:09:38 +01:00
Christian Kühnel
0be0498203 fix handling of compile errors
addresses #63
2019-11-21 15:04:39 +01:00
Christian Kühnel
4d4ea1fffb removed unused log statements 2019-11-21 10:37:18 +01:00
Christian Kühnel
f85b0bac01 fixed stage name 2019-11-18 17:13:19 +01:00
Christian Kühnel
e2725013d4 handling missing diff.json 2019-11-18 17:05:15 +01:00
Christian Kühnel
65a9b864d2 running arc patch with --force 2019-11-18 17:02:24 +01:00
Christian Kühnel
d12c25cfba moved arc patch up the chain 2019-11-18 16:43:37 +01:00
Christian Kühnel
608062e08c making build directory in the beginning
So that later steps can use that folder.
2019-11-18 16:29:59 +01:00
Christian Kühnel
ac9c89475c moved copying of results to post section 2019-11-18 12:24:24 +01:00
Christian Kühnel
2976760fc1 moved diff.json to workspace 2019-11-18 11:54:25 +01:00
Christian Kühnel
124b7fd445 fix issues in apply_patch.py
to fix #56
2019-11-18 11:45:08 +01:00
Christian Kühnel
ba32421384 removed "ninja check" to speed up builds 2019-11-12 16:31:11 +01:00
Christian Kühnel
ddd68afd8f restricting pipelines to run on linux only 2019-11-06 13:50:18 +01:00
Christian Kühnel
a54def5551 fixed missing environment variables in Phabricator pipeline 2019-10-29 10:15:38 +01:00
Christian Kühnel
ba4c71fb12 fixed link URL 2019-10-24 12:51:47 -07:00
Christian Kühnel
9b82f79698 another try with multiline strings 2019-10-24 12:41:40 -07:00
Christian Kühnel
66fc95c6f9 changed escaping of strings 2019-10-24 12:35:19 -07:00
Christian Kühnel
a1add4cf50 fixed missing line break 2019-10-24 09:34:23 -07:00
Christian Kühnel
c75b9fa3ff rewrite of result action 2019-10-24 09:05:54 -07:00
Christian Kühnel
2d99bc3e0e added missing variable 2019-10-24 05:03:31 -07:00
Christian Kühnel
55a03f6fe7 added postprocessing for Phabricator 2019-10-24 04:46:45 -07:00
Christian Kühnel
63461e41fa upgraded pipeline for Phabricator 2019-10-23 12:27:28 -07:00
Christian Kühnel
86c9d08007 aded 'git clean' to the pipelines 2019-10-21 22:47:25 +02:00