diff options
author | Jason Wray <jason@mapbox.com> | 2019-08-16 17:34:49 -0700 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2019-08-16 17:34:49 -0700 |
commit | 842c81a56506fcd9a74c4e2bf0d9179e60b30de0 (patch) | |
tree | f1de4a70cfd5ab1b74088fcd90fa7fcb9f0db4d8 | |
parent | f05a16342698a5e725076b3c601d67a4ec1e35ca (diff) | |
download | qtlocation-mapboxgl-upstream/friedbunny-farms-some-devices-in-the-sky-but-firebase-this-time.tar.gz |
Split out CI and manual stepsupstream/friedbunny-farms-some-devices-in-the-sky-but-firebase-this-time
-rw-r--r-- | Makefile | 15 | ||||
-rw-r--r-- | circle.yml | 2 |
2 files changed, 13 insertions, 4 deletions
@@ -332,17 +332,26 @@ ios-install-simulators: ios-check-events-symbols: ./platform/ios/scripts/check-events-symbols.sh -.PHONY: ios-device-farm -ios-device-farm: $(IOS_PROJ_PATH) +.PHONY: ios-build-for-testing +ios-build-for-testing: $(IOS_PROJ_PATH) set -o pipefail && xcodebuild \ ARCHS=arm64 ONLY_ACTIVE_ARCH=YES \ - CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO \ -derivedDataPath $(IOS_OUTPUT_PATH) \ -configuration $(BUILDTYPE) -sdk iphoneos \ -workspace $(IOS_WORK_PATH) \ -jobs $(JOBS) \ -scheme 'Integration Test Harness' build-for-testing $(XCPRETTY) + +.PHONY: ios-device-farm +ios-device-farm: ios-build-for-testing + cd build/ios && rm Debug-iphoneos/*.a && zip -r IntegrationTests.zip Debug-iphoneos *.xctestrun + gcloud config set project ios-maps-sdk-249922 + gcloud firebase test ios run \ + --test build/ios/IntegrationTests.zip \ + --device model=iphone8,version=12.0,locale=en,orientation=portrait \ + --timeout 20m + .PHONY: ipackage ipackage: ipackage* ipackage%: diff --git a/circle.yml b/circle.yml index d464747691..918c89ebfe 100644 --- a/circle.yml +++ b/circle.yml @@ -1055,7 +1055,7 @@ jobs: - login-google-cloud-platform: { project: 'ios-maps-sdk-249922' } - run: name: Build for testing - command: make ios-device-farm + command: make ios-build-for-testing - run: name: Prepare Integration Test Harness for device farm command: | |