-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitrise.yml
78 lines (69 loc) · 2.14 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
format_version: '11'
default_step_lib_source: 'https://github.com/bitrise-io/bitrise-steplib.git'
project_type: ios
workflows:
deploy:
description: >
The workflow tests, builds and deploys the app using *Deploy to
bitrise.io* step.
For testing the *retry_on_failure* test repetition mode is enabled.
Next steps:
- Set up [Connecting to an Apple service with API
key](https://devcenter.bitrise.io/en/accounts/connecting-to-services/connecting-to-an-apple-service-with-api-key.html##).
- Or further customise code signing following our [iOS code
signing](https://devcenter.bitrise.io/en/code-signing/ios-code-signing.html)
guide.
steps:
- git-clone@6: {}
- cache-pull@2: {}
- cocoapods-install@2: {}
- xcode-test@4:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- test_repetition_mode: retry_on_failure
- xcode-archive@4:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- distribution_method: $BITRISE_DISTRIBUTION_METHOD
- automatic_code_signing: api-key
- cache-push@2: {}
- deploy-to-bitrise-io@2: {}
primary:
description: >
The workflow executes the tests. The *retry_on_failure* test repetition
mode is enabled.
Next steps:
- Check out [Getting started with iOS
apps](https://devcenter.bitrise.io/en/getting-started/getting-started-with-ios-apps.html).
steps:
- git-clone@6: {}
- cache-pull@2: {}
- cocoapods-install@2: {}
- xcode-test@4:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- test_repetition_mode: retry_on_failure
- cache-push@2: {}
- deploy-to-bitrise-io@2: {}
meta:
bitrise.io:
stack: osx-xcode-14.1.x
machine_type_id: g2.8core
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: SimpleTodo.xcworkspace
- opts:
is_expand: false
BITRISE_SCHEME: SimpleTodo
- opts:
is_expand: false
BITRISE_DISTRIBUTION_METHOD: development
trigger_map:
- push_branch: master
workflow: deploy