1
0
Fork 0
Commit graph

138 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
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
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
2183901d46 cleanup of script folders 2019-10-24 04:46:30 -07:00
Christian Kühnel
63461e41fa upgraded pipeline for Phabricator 2019-10-23 12:27:28 -07:00
Christian Kühnel
9cc1cac48c fixed url 2019-10-23 12:18:37 -07:00
Christian Kühnel
5fc004cf51 another try with variables... 2019-10-23 12:12:42 -07:00
Christian Kühnel
8ba3e241ec fixed echo statement 2019-10-23 12:08:34 -07:00
Christian Kühnel
be9775f82d fix for variables 2019-10-23 11:42:36 -07:00
Christian Kühnel
679ad9ba23 fix echo statement 2019-10-23 11:02:19 -07:00
Christian Kühnel
ca8356d49f fixed env variables 2019-10-23 11:00:13 -07:00
Christian Kühnel
584d904bca getting console log from master 2019-10-23 08:48:16 -07:00
Christian Kühnel
f468ea1294 added post action 2019-10-23 07:23:49 -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
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
e313cc0d95 created pipeline for master build 2019-10-17 18:42:03 +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
Christian Kühnel
eb09e72082 added 2nd repo 2019-10-17 17:52:11 +02:00
Christian Kühnel
5b4a99fa12 added missing "steps" 2019-10-17 17:47:16 +02:00
Christian Kühnel
e6eb7bb18a fixed brackets 2019-10-17 17:45:58 +02:00
Christian Kühnel
e042eb8b2e added checkout 2019-10-17 17:43:46 +02:00
Christian Kühnel
3c705c4218 added dummy jenkins file 2019-10-17 17:21:24 +02:00