Christian Kühnel
e653549be4
removed libc
2020-02-04 07:57:13 +01:00
Christian Kühnel
9a97377a5a
reduced projects for windows
2020-02-04 07:33:06 +01:00
Christian Kühnel
3f52cf22b7
lessonsn learned from next agent
2020-02-03 15:25:08 +01:00
Christian Kühnel
ec0bd27c97
creating folder on empty SSD
2020-02-03 14:30:34 +01:00
Mikhail Goncharov
0e3a315ca9
Manualy specify commit to base patch
...
useful for debugging
2020-02-03 14:21:57 +01:00
Christian Kühnel
1bd9c4c4a9
removed print statement
2020-02-03 14:19:23 +01:00
Christian Kühnel
4f4f60cfe4
Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks
2020-02-03 13:10:06 +00:00
Christian Kühnel
a112bff1a0
added libcxxabi to excludes
2020-02-03 13:09:55 +00:00
Christian Kühnel
ed886a7da2
adding dependencies to project selector
2020-02-03 13:42:19 +01:00
Christian Kühnel
96e82e4354
blacklisted libunwind
2020-02-03 10:38:49 +00:00
Christian Kühnel
c7d2686251
fixed problems with configuring projects on Windows
2020-01-31 17:29:47 +00:00
Christian Kühnel
df79c3c6a6
added flag to select projects
2020-01-31 11:56:34 +00:00
Christian Kühnel
1af59cc965
added logging
2020-01-31 10:53:51 +00:00
Christian Kühnel
84a39ba079
added missing projects to windows build
2020-01-31 11:34:09 +01:00
Christian Kühnel
d75abdd172
fixed type errors
2020-01-30 17:45:57 +01:00
Christian Kühnel
64e18e7f85
changed path to requirements.txt
2020-01-28 16:40:08 +01:00
ChristianKuehnel
0272b27c28
detect projects affected by a change ( #113 )
...
first proposal for affected projects detection
2020-01-28 16:39:53 +01:00
Christian Kühnel
683ee1371b
Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks
2020-01-27 15:43:43 +00:00
Christian Kühnel
ce5b4d462a
improved benchmark script
...
We should probably do this in python so we can use it cross-platform...
2020-01-27 15:43:32 +00:00
Mikhail Goncharov
563a115006
fix git diff #108
2020-01-24 09:06:40 +01:00
Mikhail Goncharov
562adb1b90
fix format string
2020-01-23 18:01:07 +01:00
Mikhail Goncharov
46978536f0
remove compile_commands.json before creating a new
2020-01-23 16:27:28 +01:00
Mikhail Goncharov
241c1d7146
Fix requirements.txt
2020-01-23 15:43:21 +01:00
Mikhail Goncharov
429c70ddc9
fix links
2020-01-23 14:13:42 +01:00
Mikhail Goncharov
ce74784e48
Merge pull request #104 from google/bot-text
...
Update bot report
2020-01-23 13:36:20 +01:00
Mikhail Goncharov
a3f6610df2
Update bot report
...
- add links to join beta and report issue
- add link "not useful" to clang-tidy warning
- clang-tidy comment in report now tells how many inline comments were
added
2020-01-23 13:35:40 +01:00
Christian Kühnel
b8872caaa6
fixed container start script
2020-01-23 13:07:30 +01:00
Christian Kühnel
ebdda6fdc6
updated start script
2020-01-23 10:33:56 +01:00
Christian Kühnel
9f3db2cc48
handling base revision not found
...
using master instead
2020-01-23 09:47:59 +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
Mikhail Goncharov
f998580ba2
fix requirements.txt
2020-01-22 18:27:04 +01:00
Mikhail Goncharov
7e54c937c8
Add pathspec pip package.
2020-01-22 18:04:18 +01:00
Christian Kühnel
275c2f81b1
Updated boot strapping of windows agents
2020-01-22 17:02:05 +01:00
Christian Kühnel
6dfeb6a728
using patch instead of "git apply"
2020-01-22 13:21:02 +01:00
Christian Kühnel
d99d32bdaa
added git reset
2020-01-22 12:08:51 +00:00
Christian Kühnel
4bb77853ca
Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks
2020-01-22 10:39:47 +00:00
Christian Kühnel
83e9732126
using given base revision
2020-01-22 11:39:20 +01:00
Mikhail Goncharov
82c469fc69
Use default style for clang-format
...
It correctly picks up .clang-format settings.
For issue #92 and related.
2020-01-21 15:44:35 +01:00
Christian Kühnel
c6083e3cf4
added "done" to comd output
2020-01-20 13:16:45 +00:00
Christian Kühnel
398656cc7e
using patch command
2020-01-20 13:14:29 +00:00
Christian Kühnel
a3ed6589f4
added git-clean
2020-01-20 13:04:09 +00:00
Christian Kühnel
677b7fbe89
removed uplicate entry
2020-01-20 12:32:17 +00:00
Christian Kühnel
1fc40ffedd
fixed bug when diff has no dependencies
2020-01-20 13:29:58 +01:00
Christian Kühnel
7228ab9fdc
fixed variable
2020-01-20 12:45:07 +01:00
Christian Kühnel
a61428e5bb
added missing self
2020-01-20 12:37:49 +01:00
Christian Kühnel
b4ac626be6
added retry library
...
to be used for retrying on phabricator interaction
2020-01-20 12:07:19 +01:00
Christian Kühnel
fe615f19bb
calling update_interfaces
2020-01-20 12:06:57 +01:00
Christian Kühnel
b1086e3914
changed error action
2020-01-17 15:56:23 +01:00
Christian Kühnel
4bf3b126ee
changed ninja ErrorAction
2020-01-17 15:51:06 +01:00
Christian Kühnel
7d2766304e
setting targetdir
2020-01-17 10:25:24 +01:00
Christian Kühnel
ed4ea89ea5
fixed BUILD_DIR
2020-01-17 10:22:12 +01:00
Christian Kühnel
8824b8f2f8
using pwd as workspace dir
2020-01-17 10:20:32 +01:00
Christian Kühnel
1886dec556
creating a clean build folder
2020-01-17 10:18:28 +01:00
Christian Kühnel
640a80b4c2
setting workspace variable
2020-01-17 10:16:13 +01:00
Christian Kühnel
6f1e93ae3a
made script executable
2020-01-17 10:13:52 +01:00
Christian Kühnel
5117d31607
added script to run from buildkite
2020-01-17 10:07:18 +01:00
Christian Kühnel
3fd0d02cd0
added missing dependency
2020-01-16 14:21:13 +00:00
Christian Kühnel
b0263dd926
Created new apply_patch script
...
Should handle landed diffs better.
2020-01-15 17:40:32 +01:00
Mikhail Goncharov
cac68d0d60
temporary disable clang-tidy
2020-01-13 11:05:24 +01:00
Mehdi Amini
8aafb5fd5c
Add mlir to the premerge tests
2019-12-26 17:25:25 +00:00
Christian Kühnel
bf1bcb951f
removed git checkout script
...
on the SSD Jenkins is fast enough
2019-12-20 09:07:05 +00:00
Christian Kühnel
451671cd88
tweaks for docker on windows
2019-12-18 17:29:21 +00:00
Christian Kühnel
3a170a2af6
added gcloud auth
2019-12-18 12:07:23 +00:00
Christian Kühnel
1923516328
fixed SSD name
2019-12-17 15:11:23 +00: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
Christian Kühnel
b1d2dfed6f
using host name to name agent
2019-12-17 08:25:57 +00:00
Christian Kühnel
adf51c6551
update of scripts for native windows agent
2019-12-16 18:56:02 +00:00
Christian Kühnel
404fcf9138
fixed more windows weirdness
2019-12-16 10:09:47 +00:00
Christian Kühnel
09327f289e
git pull -q
2019-12-16 10:03:59 +00:00
Christian Kühnel
f05a4240f2
fixed error handling
2019-12-16 10:02:28 +00:00
Christian Kühnel
c3fd873495
code formatting
2019-12-16 09:47:02 +00:00
Christian Kühnel
7ab62f2aea
removed tracing
2019-12-16 09:46:47 +00:00
Christian Kühnel
5b0d53313d
fixed git checkout script
2019-12-16 09:19:33 +00:00
Christian Kühnel
1a2f1e2108
another shot at redirecting stderr
2019-12-13 18:59:35 +01:00
Christian Kühnel
e382e0f720
fix clone path
2019-12-13 16:31:36 +00:00
Christian Kühnel
a98d723977
another shot at wrapping stdout
2019-12-13 16:23:10 +00:00
Christian Kühnel
eb8690b8dc
silencing git clone
2019-12-13 16:21:07 +00:00
Christian Kühnel
a695983f76
added tracing
2019-12-13 16:20:09 +00:00
Christian Kühnel
1d289d2417
rediriecting stderr
2019-12-13 16:17:43 +00:00
Christian Kühnel
f6c1fadc95
running my own git checkout script
2019-12-13 16:11:54 +00:00
Christian Kühnel
966a9b93fc
redirecting stderr
2019-12-13 15:58:35 +00:00
Christian Kühnel
3623086912
removing wrapper code
2019-12-13 15:14:48 +00:00
Christian Kühnel
30f6cc9b90
added more line wraps
2019-12-13 14:28:57 +00:00
Mikhail Goncharov
cff541258d
Merge pull request #78 from google/update-images
...
Update image to use default version
2019-12-11 18:07:05 +01:00
Christian Kühnel
43299bb04b
another test run
2019-12-11 17:05:58 +00:00
Christian Kühnel
78d6dd6d2a
Merge branch 'master' of github.com:google/llvm-premerge-checks
2019-12-11 16:48:28 +00:00
Christian Kühnel
4ca85190ea
merged command into one line to see if that was the issue
2019-12-11 16:48:16 +00:00
Mikhail Goncharov
8e5db1e6bd
Update image to use default clang package
...
+ add jq to parse conduit responses later
2019-12-11 15:58:00 +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
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
27730f4d35
added debugging info
2019-12-02 15:40:10 +01:00
Christian Kühnel
bac89cc03a
reduced scope of build job
2019-12-02 14:43:46 +01:00
Christian Kühnel
d009a3bb22
removing build folder before running cmake
2019-11-29 12:36:29 +00:00
Christian Kühnel
6ce0cd1512
using ${PSScriptRoot}
2019-11-27 15:45:11 +00:00
Christian Kühnel
7700a2f8d0
converted batch to ps1
2019-11-27 15:41:51 +00:00
Christian Kühnel
79ccb8b846
fixed echo statements
2019-11-27 14:41:21 +00:00
Christian Kühnel
e3b28cace0
fixed pushd calls
2019-11-27 14:39:59 +00:00
Christian Kühnel
06bae8f9a3
improved logging and error handling
2019-11-27 12:11:50 +00:00