diff options
author | Tobias Markmann <tm@ayena.de> | 2017-06-19 10:17:40 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2017-06-21 15:56:21 (GMT) |
commit | 44917c5f63ee2373b65911ea953d19fc0d1f3272 (patch) | |
tree | af296ec2eef9197e337fefc9a559b2ca3e683d5b /QA/Checker | |
parent | 027111dcd9f5812342066d3bd3e1dbb1f46b3c95 (diff) | |
download | swift-44917c5f63ee2373b65911ea953d19fc0d1f3272.zip swift-44917c5f63ee2373b65911ea953d19fc0d1f3272.tar.bz2 |
Add CircleCI configuration for basic GitHub PR checks
This also disables a couple compiler warnings raised by clang
trunk.
Test-Information:
Tested this on my personal GitHub fork of Swift and it works.
Change-Id: I646d3beb9fc0376e0b38ce8e323e5717a899ad45
Diffstat (limited to 'QA/Checker')
-rw-r--r-- | QA/Checker/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/QA/Checker/SConscript b/QA/Checker/SConscript index 3b81ca4..a41a5f9 100644 --- a/QA/Checker/SConscript +++ b/QA/Checker/SConscript @@ -10,7 +10,7 @@ if env["TEST"] : "LINKFLAGS": env["PLATFORM"] == "win32" and ["/SUBSYSTEM:CONSOLE"] or [] } - if os.path.basename(env["CC"]) in ("clang", "gcc"): + if os.path.basename(env["CC"]).startswith(("clang", "gcc")): env["CHECKER_FLAGS"]["CPPFLAGS"] = ["-isystem" + Dir("#/3rdParty/HippoMocks").abspath] else : env["CHECKER_FLAGS"]["CPPPATH"] = ["#/3rdParty/HippoMocks"] |