-
Notifications
You must be signed in to change notification settings - Fork 17
/
bitrise.yml
53 lines (49 loc) · 1.31 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
format_version: '11'
default_step_lib_source: 'https://github.com/bitrise-io/bitrise-steplib.git'
project_type: ios
app:
envs:
- BITRISE_PROJECT_PATH: Bitrise-iOS-Cocoapods-Sample.xcworkspace
- BITRISE_SCHEME: Bitrise-iOS-Cocoapods-Sample
- BITRISE_EXPORT_METHOD: development
trigger_map:
- push_branch: '*'
workflow: Run_Simulator_Tests
- pull_request_source_branch: '*'
workflow: Run_Simulator_Tests
meta:
bitrise.io:
stack: osx-xcode-13.4.x
machine_type_id: g2.4core
workflows:
Run_Device_Tests:
steps:
- git-clone@6: {}
- cache-pull@2: {}
- cocoapods-install@2: {}
- certificate-and-profile-installer@1:
inputs:
- install_defaults: 'no'
- xcode-build-for-test@0:
inputs:
- verbose_log: 'yes'
- virtual-device-testing-for-ios@0:
inputs:
- test_devices: 'iphone8,14.7,en,portrait'
- deploy-to-bitrise-io@1: {}
- cache-push@2: {}
Run_Simulator_Tests:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@6: {}
- cache-pull@2: {}
- cocoapods-install@2: {}
- xcode-test@3:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- verbose: 'yes'
- scheme: $BITRISE_SCHEME
- deploy-to-bitrise-io@1: {}
- cache-push@2: {}