From 4b8c27edef8c87c00ef6e5be556f8a803723a5c0 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Mon, 18 Dec 2017 16:58:52 -0800 Subject: [ios, build] Run undefined behavior sanitizer on CircleCI --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 862201d8d1..8ba07366a2 100644 --- a/Makefile +++ b/Makefile @@ -235,14 +235,14 @@ ios-test: $(IOS_PROJ_PATH) ios-integration-test: $(IOS_PROJ_PATH) set -o pipefail && $(IOS_XCODEBUILD_SIM) -scheme 'Integration Test Harness' test $(XCPRETTY) +.PHONY: ios-sanitize +ios-sanitize: $(IOS_PROJ_PATH) + set -o pipefail && $(IOS_XCODEBUILD_SIM) -scheme 'CI' -enableThreadSanitizer YES -enableUndefinedBehaviorSanitizer YES test $(XCPRETTY) + .PHONY: ios-sanitize-address ios-sanitize-address: $(IOS_PROJ_PATH) set -o pipefail && $(IOS_XCODEBUILD_SIM) -scheme 'CI' -enableAddressSanitizer YES test $(XCPRETTY) -.PHONY: ios-sanitize-thread -ios-sanitize-thread: $(IOS_PROJ_PATH) - set -o pipefail && $(IOS_XCODEBUILD_SIM) -scheme 'CI' -enableThreadSanitizer YES test $(XCPRETTY) - .PHONY: ipackage ipackage: $(IOS_PROJ_PATH) FORMAT=$(FORMAT) BUILD_DEVICE=$(BUILD_DEVICE) SYMBOLS=$(SYMBOLS) \ -- cgit v1.2.1 From e018b01c428464a173e6440cdbbaf5baf6a16943 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Mon, 18 Dec 2017 17:02:09 -0800 Subject: [ios, build] Run static analyzer on CircleCI --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8ba07366a2..79eeb6f910 100644 --- a/Makefile +++ b/Makefile @@ -243,6 +243,10 @@ ios-sanitize: $(IOS_PROJ_PATH) ios-sanitize-address: $(IOS_PROJ_PATH) set -o pipefail && $(IOS_XCODEBUILD_SIM) -scheme 'CI' -enableAddressSanitizer YES test $(XCPRETTY) +.PHONY: ios-static-analyzer +ios-static-analyzer: $(IOS_PROJ_PATH) + set -o pipefail && $(IOS_XCODEBUILD_SIM) analyze -scheme 'CI' test $(XCPRETTY) + .PHONY: ipackage ipackage: $(IOS_PROJ_PATH) FORMAT=$(FORMAT) BUILD_DEVICE=$(BUILD_DEVICE) SYMBOLS=$(SYMBOLS) \ -- cgit v1.2.1 From 4f196d48ddfc3bb05dee1cdd032af170a6c53d67 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Wed, 20 Dec 2017 15:11:39 -0800 Subject: [build] Save raw Xcode build logs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 79eeb6f910..5c521d674a 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ ifeq ($(V), 1) export XCPRETTY NINJA_ARGS ?= -v else - export XCPRETTY ?= | xcpretty + export XCPRETTY ?= | tee '$(shell pwd)/build/xcodebuild-$(shell date +"%Y-%m-%d_%H%M%S").log' | xcpretty NINJA_ARGS ?= endif -- cgit v1.2.1