diff options
-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: | |