summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-04-14 14:39:41 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-16 22:46:24 -0700
commit20b1c19b638ad487561fc1432419908d965d0027 (patch)
treeb120b00134baf544dfbb129b6c21a34dc1de0356 /Makefile
parentbe8f83770d0a86e15ff395958b970cd69ab9c2d7 (diff)
downloadqtlocation-mapboxgl-20b1c19b638ad487561fc1432419908d965d0027.tar.gz
[ios] Run SDK tests on CI
Added SDK tests to make test-ios rule. Disabled code coverage.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ddb802f09e..fd72966962 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,11 @@ iproj: $(IOS_PROJ_PATH)
open $(IOS_WORK_PATH)
test-ios: ios
+ set -o pipefail && xcodebuild \
+ ARCHS=i386 ONLY_ACTIVE_ARCH=YES \
+ -configuration $(BUILDTYPE) -sdk iphonesimulator \
+ -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' \
+ -workspace $(IOS_WORK_PATH) -scheme CI test | xcpretty
ios-sim start
ios-sim launch build/ios-all/$(BUILDTYPE)-iphonesimulator/ios-test.app --verbose