Last active
May 13, 2019 08:26
-
-
Save timers-ios/fb40147a975837ff1cce549351aa3177 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
format_version: 1.1.0 | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
app: | |
envs: | |
- BITRISE_PROJECT_PATH: XXXX.xcworkspace | |
opts: | |
is_expand: false | |
- BITRISE_SCHEME: XXXX | |
opts: | |
is_expand: false | |
- opts: | |
is_expand: false | |
DEV_PLIST_PATH: XXXX/Info.plist | |
- opts: | |
is_expand: false | |
AWS_LOG_BUCKET_NAME: xxxxxxxxxxxx | |
- opts: | |
is_expand: false | |
AWS_LOG_BUCKET_REGION: xxxxxxxxxxxx | |
- opts: | |
is_expand: false | |
SLACK_CHANNEL: "#xxxxxxxxxxx" | |
workflows: | |
ui_test: | |
steps: | |
- activate-ssh-key: | |
title: Activate App SSH key | |
inputs: | |
- ssh_key_save_path: "$HOME/.ssh/steplib_ssh_step_id_rsa" | |
- git-clone: | |
inputs: | |
- clone_depth: '' | |
- certificate-and-profile-installer: {} | |
- script: | |
inputs: | |
- content: |- | |
#!/bin/bash | |
defaults write xcodebuild PBXNumberOfParallelBuildSubtasks 4 | |
defaults write xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4 | |
defaults write com.apple.xcode PBXNumberOfParallelBuildSubtasks 4 | |
defaults write com.apple.xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4 | |
- cache-pull: {} | |
- carthage: | |
inputs: | |
- carthage_options: "--platform ios --use-ssh --new-resolver" | |
- cocoapods-install: {} | |
- set-xcode-build-number: | |
inputs: | |
- plist_path: "$DEV_PLIST_PATH" | |
- xcode-test: | |
title: 'Xcode: UI Test' | |
inputs: | |
- is_clean_build: 'yes' | |
- export_uitest_artifacts: 'true' | |
- simulator_device: iPhone XS | |
- should_retry_test_on_fail: 'yes' | |
- xcodebuild_test_options: SWIFT_WHOLE_MODULE_OPTIMIZATION=YES -only-testing:$UITEST_SCHEME | |
COMPILER_INDEX_STORE_ENABLE=NO | |
- cache-push: | |
inputs: | |
- cache_paths: "$BITRISE_CACHE_DIR" | |
- amazon-s3-uploader: | |
inputs: | |
- file_access_level: private | |
- aws_access_key: "$AWS_ACCESS_KEY" | |
- aws_secret_key: "$AWS_SECRET_KEY" | |
- bucket_name: "$AWS_LOG_BUCKET_NAME" | |
- bucket_region: "$AWS_LOG_BUCKET_REGION" | |
- file_path: "$BITRISE_XCODE_TEST_ATTACHMENTS_PATH" | |
is_always_run: true | |
- slack: | |
inputs: | |
- channel: "$SLACK_CHANNEL" | |
- buttons: |+ | |
View App|${BITRISE_APP_URL} | |
View Build|${BITRISE_BUILD_URL} | |
- pretext: |- | |
*Build Succeeded!* | |
logs: $S3_UPLOAD_STEP_URL | |
- webhook_url: "$SLACK_WEBHOOK_URL" | |
before_run: | |
after_run: | |
envs: | |
- opts: | |
is_expand: false | |
UITEST_SCHEME: XXXXUITests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment