1
0
Fork 0
Commit graph

193 commits

Author SHA1 Message Date
Mikhail Goncharov
0a636404c6 create build directory after applying patch 2020-02-05 15:34:17 +01:00
Christian Kühnel
d4de1f60d5 fixed link to results 2020-02-05 14:31:26 +01:00
Christian Kühnel
5eb652acef removed unused pipeline 2020-02-05 14:31:20 +01:00
Mikhail Goncharov
ac2fcc5944 use new apply-patch for linux 2020-02-05 10:13:45 +01:00
Christian Kühnel
5ea89e7e7c changed windows build to every 4 hours 2020-02-03 15:37:11 +01:00
Christian Kühnel
f0509c17ef enabling project detection on Windows 2020-02-03 10:22:49 +00:00
Christian Kühnel
4c186daf95 disabled compression 2020-02-03 10:19:53 +01:00
Christian Kühnel
762cd6b501 cleanup of build 2020-01-28 13:08:51 +01:00
Christian Kühnel
74a5a24e92 changed ErrorAction 2020-01-27 16:24:45 +01:00
Christian Kühnel
66f3d3ddc4 logging details on clang tools versions 2020-01-27 15:27:00 +01:00
Christian Kühnel
5d4a97a997 added error handling and logging to post action 2020-01-27 15:14:18 +01:00
Christian Kühnel
180858cf41 only deleting the folder if it exists 2020-01-23 18:12:42 +01:00
Christian Kühnel
0ba33dd7cd added rd to arc stage 2020-01-23 13:03:52 +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
Christian Kühnel
f8b67cbad1 fixed paths 2020-01-17 09:11:17 +01:00
Christian Kühnel
c24fa9e2c2 moved environment to stages 2020-01-16 17:55:15 +01:00
Christian Kühnel
371ff6041f added stages 2020-01-16 17:48:07 +01:00
Christian Kühnel
b35a00dc57 adde missing variables 2020-01-16 17:44:41 +01:00
Christian Kühnel
86a3209286 created mixed linux+windows pipeline 2020-01-16 17:43:20 +01:00
Christian Kühnel
f9a15e0cb3 added comma 2020-01-16 17:13:19 +01:00
Christian Kühnel
887263ba59 added whitespace 2020-01-16 17:11:52 +01:00
Christian Kühnel
329026cad8 changed pollng interval to 5 min 2020-01-16 17:10:59 +01:00
Christian Kühnel
262547eccb first draft of releaes branch
pipeline
2020-01-16 17:09:44 +01:00
Christian Kühnel
51e55872b8 using bat to run python command 2020-01-16 14:17:46 +00:00
Christian Kühnel
bdff02c159 changed python command 2020-01-16 15:04:06 +01:00
Christian Kühnel
a0cd42f18c trying to stop script on errors 2020-01-16 11:31:12 +01:00
Christian Kühnel
ed69149119 fixed powershell call 2020-01-16 09:14:44 +01:00
Christian Kühnel
c79e3d1013 added missing dirs 2020-01-16 09:13:10 +01:00
Christian Kühnel
7949e19ab2 fixed MY_BUILD_ID 2020-01-16 09:07:46 +01:00
Christian Kühnel
8696728438 fixed agent label 2020-01-15 16:50:50 +00:00
Christian Kühnel
602e250ec1 first draft for windows Phabricator pipeline 2020-01-15 16:49:23 +00:00
Christian Kühnel
a9a6d44cef trying to ignore stderr in gsutil 2019-12-20 13:36:53 +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
2b508d1344 disabled junit results 2019-12-20 08:53:05 +01:00
Christian Kühnel
5acf808e48 using backslashes for paths 2019-12-19 15:19:48 +01:00
Christian Kühnel
5aaf4587e5 disabled test results as it did not work 2019-12-19 09:28:46 +00:00
Christian Kühnel
26c5f05f97 added junit 2019-12-19 09:14:33 +00:00
Christian Kühnel
cc02e04835 added junit 2019-12-19 09:12:38 +00:00
Christian Kühnel
ddc28e66eb fixed time trigger 2019-12-19 09:07:56 +00:00
Mikhail Goncharov
2b8ad25ec1 global success should be defined outside 2019-12-18 18:23:13 +01:00
Christian Kühnel
fba8c75447 fixed error action 2019-12-18 17:47:26 +01:00
Christian Kühnel
4a88b03a4b using Jenkins to manage git checkout again 2019-12-18 16:06:07 +01:00
Christian Kühnel
f3bc980e4f fixed missing quote 2019-12-18 15:44:54 +01:00
Christian Kühnel
b3af22d838 removed quotes 2019-12-18 15:06:28 +01:00
Christian Kühnel
70d294bbd3 removed $ statement from script 2019-12-18 12:51:37 +01:00
Christian Kühnel
df3e557e6b escaped "$" symbol in script 2019-12-18 12:46:03 +01:00
Christian Kühnel
b575ac7233 uploading results to Google Cloud Storge 2019-12-18 12:36:13 +01:00
Christian Kühnel
58f4de74f4 copying results to network share 2019-12-18 09:22:12 +00:00
Mikhail Goncharov
89e7c8ad24 Don't fail buildif ninja all / check all has failed 2019-12-18 08:57:29 +01:00
Christian Kühnel
a6bfda48f8 Merge branch 'master' of ssh://github.com/google/llvm-premerge-checks 2019-12-17 17:49:24 +00:00
Christian Kühnel
045a111be1 added copying of the console log 2019-12-17 17:49:10 +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
Mikhail Goncharov
9006793c2e
Merge pull request #82 from google/metaflow-patch-1
Report installed packages
2019-12-17 10:44:39 +01:00
Christian Kühnel
7b87d4ea13 enabnled 2h trigger again 2019-12-17 09:17:33 +01:00
Christian Kühnel
c0297a85ed fixed paths 2019-12-16 09:39:24 +00:00
Christian Kühnel
76c87d3340 fixed checkout path 2019-12-16 09:24:25 +00:00
Christian Kühnel
2a2944e5c3 changed directory layout 2019-12-13 16:15:20 +00:00
Christian Kühnel
f6c1fadc95 running my own git checkout script 2019-12-13 16:11:54 +00:00
Christian Kühnel
819dac1b36 added env variable for result storage 2019-12-13 15:20:55 +00:00
Christian Kühnel
8fcc871833 disabled scheduled builds 2019-12-13 15:19:30 +00:00
Christian Kühnel
f1c253a5be added timestamps to windows 2019-12-13 15:01:32 +00:00
Mikhail Goncharov
52547e42a3
Report installed packages 2019-12-13 09:43:07 +01:00
Mikhail Goncharov
9f9ea61930
Merge pull request #80 from google/diff-id
Resolve phabricator diff id and add link in description
2019-12-12 09:42:33 +01:00
Mikhail Goncharov
4762ba5c3f Resolve phabricator diff id and add link in description 2019-12-12 09:40:31 +01:00
Christian Kühnel
04dd0ce66a revert of git checkout script 2019-12-11 17:10:00 +00:00
Christian Kühnel
43299bb04b another test run 2019-12-11 17:05:58 +00:00
Christian Kühnel
c04a10e914 merged changes from other Jenkinsfile 2019-12-11 17:23:54 +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
10eb2dbd3a revert of last commit 2019-12-02 14:43:02 +01:00
Christian Kühnel
059c2822e0 running psh from cmd 2019-12-02 14:24:05 +01:00
Christian Kühnel
39d59ab2fb removed duplicate pipeline 2019-11-29 14:48:06 +00:00
Christian Kühnel
0ccd413c63 renamed pwsh to powershell 2019-11-29 14:10:07 +00:00
Christian Kühnel
15cc357b0a changed mkdir command 2019-11-29 12:47:56 +00:00
Christian Kühnel
4ae3af5d7f changed "sh" commands to "bat" 2019-11-29 12:45:34 +00:00
Christian Kühnel
dcb90b4eea disabled git clean 2019-11-29 12:37:38 +00:00
Christian Kühnel
f5d3a971c2 created pipeline for windows 2019-11-29 12:23:58 +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
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