1
0
Fork 0
Commit graph

55 commits

Author SHA1 Message Date
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
Christian Kühnel
ac61475fe2 added steps 2019-10-21 22:39:27 +02:00
Christian Kühnel
b2fa5e3d58 added id output to build 2019-10-21 22:37:09 +02:00
Christian Kühnel
d005ee7a9f using python3 prefix and absolute paths 2019-10-18 15:24:36 +02:00
Christian Kühnel
9d1e01438a fixed one typo 2019-10-18 15:13:23 +02:00
Christian Kühnel
bf57094670 added more ls 2019-10-18 15:08:36 +02:00
Christian Kühnel
1774f8b3d2 added debuggint statements 2019-10-18 15:05:10 +02:00
Christian Kühnel
80278d7583 added python prefix 2019-10-18 15:03:20 +02:00
Christian Kühnel
5256091070 trying without arguments 2019-10-18 14:57:28 +02:00
Christian Kühnel
c0873817ad trying workspace prefix 2019-10-18 14:53:38 +02:00
Christian Kühnel
554461f344 another try with different paths 2019-10-18 14:48:29 +02:00
Christian Kühnel
a33d2ce141 added script to apply arc patch 2019-10-18 14:32:14 +02:00
Christian Kühnel
5014d940dc removed brace 2019-10-17 18:12:48 +02:00
Christian Kühnel
3d6985be5e added scripts for cmake and ninjs 2019-10-17 18:10:43 +02:00
Christian Kühnel
cf2ca87037 fixed 2nd branch 2019-10-17 18:02:14 +02:00
Christian Kühnel
39e365688f added missing brace 2019-10-17 17:57:40 +02:00