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
Christian Kühnel
6c89adda38
removed md/cd commands
2019-11-27 10:03:07 +00:00
Christian Kühnel
7d14909448
using absolute paths
2019-11-27 09:01:07 +00:00
Christian Kühnel
83a6eca803
changed buildkite script to call other scripts
2019-11-27 08:53:28 +00:00
Christian Kühnel
871810ad7e
added LLVM_ENABLE_DIA_SDK=OFF
2019-11-27 08:53:08 +00:00
ChristianKuehnel
de34fb9572
Create docker container for Windows build ( #52 )
...
* first steps towards windows builds #25
* added build scripts for windows
* moved from powershell to CMD
* script cleanup
* set up jenkins swarm plugin
* added deployment script for windows
* first draft of jenkins file for windows
* first shot at windows pods
* first draft for buildkite agent
* added call to run_cmake.bat
* added call to run_ninja.bat
* added new buildkite script
* added Dockerfile for buildkite agent
* fixed userprofile path
* added /IncludeOptional for VS
I hope that includes all required libraries
* moved work folder to W:
* added git config for long file names
* added more CMake flags
* setting x64 bit arch in a different way
* and yet another way to set 64bit
* merged buildkite changes to jenkins scripts
* hiding license in batch script runs
* running release build
* added test xml log
* compilation is working, but not all tests
* cmake is in patch now
* updated the dependencies from buildkite config
* dockerfile cleanup
* change how git handles line endings
* updated comment
* performance improvment for volume
* changed workdir folder
* using gnuwin package
split installation into separate layers to speed up incremental changes
2019-11-26 17:10:30 +01:00
Christian Kühnel
59e5bb8ed2
improved logging
2019-11-22 11:03:05 +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
0be0498203
fix handling of compile errors
...
addresses #63
2019-11-21 15:04:39 +01:00
Christian Kühnel
3c0461255c
changed type of exception
2019-11-21 15:00:48 +01:00
Christian Kühnel
4d4ea1fffb
removed unused log statements
2019-11-21 10:37:18 +01:00
Christian Kühnel
617f0db570
do not fail if log can't be crated
2019-11-18 17:19:13 +01:00
Christian Kühnel
8f72543819
printing message if patch successful
2019-11-18 17:07:31 +01:00
Christian Kühnel
65a9b864d2
running arc patch with --force
2019-11-18 17:02:24 +01:00
Christian Kühnel
b53b2110ef
fixed raise statement
2019-11-18 16:41:44 +01:00
Christian Kühnel
f8eaba6cf1
fixed bug in subprocess.run
2019-11-18 16:38:55 +01:00
Christian Kühnel
d028ac35b1
improved error handling for arc patch
2019-11-18 16:36:23 +01:00
Christian Kühnel
db831d4c0e
only posting non-empty comments
2019-11-18 16:22:43 +01:00
Christian Kühnel
c96a2d158c
making feedback upload more relaxed if files are missing
2019-11-18 16:00:14 +01:00
Christian Kühnel
cbf1bee7da
fixed imports
2019-11-18 12:17:06 +01:00
Christian Kühnel
1be0187f5e
fixed json output
2019-11-18 12:06:22 +01:00
Christian Kühnel
4ebb7edb11
fixed typo in var name
2019-11-18 11:51:10 +01:00
Christian Kühnel
b1dde01ac0
added phid to log output
2019-11-18 11:46:57 +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
7d1d74394b
removed unused script
2019-11-13 11:45:22 +01:00
Christian Kühnel
1151a91dc9
added libunwind to project configuration
2019-11-11 09:05:17 +01:00
Christian Kühnel
48567c02fe
added retry on errors
2019-11-05 09:31:43 +01:00
Christian Kühnel
b99d01165e
fixed bug in git checkout script
2019-10-31 11:33:23 +01:00
ChristianKuehnel
c90819c53d
Merge pull request #34 from google/print-shell-commands
...
Use set -x to output commands running
2019-10-28 09:25:31 -07:00
Christian Kühnel
ba0f07ffb4
added status output
2019-10-24 09:41:19 -07:00
Christian Kühnel
a6abec98d4
handling missing test result file as failted build
2019-10-24 04:41:57 -07:00
Christian Kühnel
8b05fe5ef9
setting the right build result
2019-10-23 12:06:22 -07:00
Christian Kühnel
3cb057bc8f
LIT verbose enabled in CMake
2019-10-23 07:16:54 -07:00
Christian Kühnel
3c19ae0ea3
added new run_ninja.sh script
2019-10-23 06:40:21 -07:00
Christian Kühnel
e59db9cbcd
added error handling to patch script
2019-10-23 06:39:24 -07:00
Christian Kühnel
86c9d08007
aded 'git clean' to the pipelines
2019-10-21 22:47:25 +02:00
Christian Kühnel
dddf48b57b
added fallback for applying patch
2019-10-21 22:41:37 +02:00
Christian Kühnel
7aa09fd26e
added configuration of enabled projects
2019-10-21 22:06:47 +02:00
Mikhail Goncharov
e405c5b496
Use set -x to output commands running
...
That is helpful to debug builds
2019-10-18 18:24:09 +02:00
Christian Kühnel
195b9aaaab
removed quotes
2019-10-18 15:28:43 +02:00
Christian Kühnel
5256091070
trying without arguments
2019-10-18 14:57:28 +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
e313cc0d95
created pipeline for master build
2019-10-17 18:42:03 +02:00
Christian Kühnel
3d6985be5e
added scripts for cmake and ninjs
2019-10-17 18:10:43 +02:00
Christian Kühnel
ca68a7f47d
improved build result report
2019-10-17 17:11:17 +02:00
Christian Kühnel
e46b8172e0
added help for weird API
2019-10-16 13:52:29 +02:00
Christian Kühnel
b67aeb4714
added host parameter
2019-10-16 11:54:38 +02:00
Christian Kühnel
539dacd5b5
posting text comments and test results to Phabricator works #14
2019-10-15 18:12:19 +02:00
Christian Kühnel
4cb862a908
backup for github launch
2019-10-14 09:07:34 +02:00