Commit Graph

13 Commits

Author SHA1 Message Date
Yanqin Jin
bef206613a Remove tmate debugging session 2020-04-29 20:27:49 -07:00
Yanqin Jin
64b3bbf1c9 Cleanup 2020-04-29 20:21:18 -07:00
Yanqin Jin
3c570016cd Fetch all history 2020-04-29 15:10:40 -07:00
Yanqin Jin
fcc66154fa Try to debug with tmate 2020-04-29 14:57:32 -07:00
Yanqin Jin
f03d14b000 Fetch origin 2020-04-29 11:34:17 -07:00
Yanqin Jin
ad71ee3c42 Change tracking 2020-04-29 11:32:23 -07:00
Yanqin Jin
e10008f339 More verbose 2020-04-29 11:17:38 -07:00
Yanqin Jin
2b8a4125c6 Git merge 2020-04-29 11:12:56 -07:00
Yanqin Jin
3a2b72ab07 Add more git print 2020-04-29 11:00:58 -07:00
Yanqin Jin
cccd1d6ef3 Print merge base 2020-04-29 10:57:38 -07:00
Yanqin Jin
927f3e0b47 Add a debug step 2020-04-29 10:46:45 -07:00
Yanqin Jin
7dc4c2c7ea Update GH Action config 2020-04-29 08:02:16 -07:00
Yanqin Jin
65af81b6cb Add Github Action for some basic sanity test of PR
Summary:
Add Github Action to perform some basic sanity check for PR, inclding the
following.
1) Buck TARGETS file.
On the one hand, The TARGETS file is used for internal buck, and we do not
manually update it. On the other hand, we need to run the buckifier scripts to
update TARGETS whenever new files are added, etc. With this Github Action, we
make sure that every PR does not forget this step. The GH Action uses
a Makefile target called check-buck-targets. Users can manually run `make
check-buck-targets` on local machine.

2) Code format
We use clang-format-diff.py to format our code. The GH Action in this PR makes
sure this step is not skipped. This GH Action does not use the Makefile target
called "make format" because "make format" currently runs
build_tools/format-diff.sh which requires clang-format-diff.py to be
executable. The clang-format-diff.py on our dev servers are not python3
compatible either.
On host running GH Action, it is difficult to download a file and make it
executable. Modifying build_tools/format-diff.sh is less necessary, especially
since the command we actually use for format checking is quite simple, as
illustrated in the workflow definition.

Test Plan:
Watch for Github Action result.
2020-04-27 10:52:24 -07:00