Commit Graph

2 Commits

Author SHA1 Message Date
Mike Schuchardt c9dc24f863 scripts: exclude vulkan headers from clang-format
Travis CI shows linux build failure on every header update because
upstream Vulkan-Docs files are not formatted with the clang-format style
of this repo.  This change excludes the vulkan headers directory from
the CI clang-format check.

Change-Id: I6d1bee486d06b690f65aa2c3098de14f3c5931c9
2018-04-06 10:45:21 -06:00
Karl Schultz 1d7d607fc8 build: Add clang-format checking of pull request changes to CI
Check modified lines in a pull request for correct clang-format.
Note that checking is not performed unless there is a pull request.

Heavily leveraged from https://github.com/KhronosGroup/SPIRV-Tools.
2017-12-19 16:06:18 -07:00