-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbitrise.yml
59 lines (56 loc) · 1.96 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
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@7: {}
- cache-pull@2: {}
- cocoapods-install@2: {}
- 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 only builds the project because the project scanner could not find any tests.
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@7: {}
- cache-pull@2: {}
- cocoapods-install@2: {}
inputs:
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- destination: platform=iOS Simulator,name=iPhone 14 Pro,OS=latest
- cache-push@2: {}
- deploy-to-bitrise-io@2: {}
meta:
bitrise.io:
stack: osx-xcode-14.1.x
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: Example/TypographyKit.xcworkspace
- opts:
is_expand: false
BITRISE_SCHEME: TypographyKit
- opts:
is_expand: false
BITRISE_DISTRIBUTION_METHOD: development
trigger_map:
- push_branch: main
workflow: primary