-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitrise.yml
62 lines (62 loc) · 1.94 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
---
format_version: '13'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
workflows:
archive_and_export_app:
summary: Run your Xcode tests and create an IPA file to install your app on a
device or share it with your team.
description: The workflow will first clone your Git repository, cache and install
your project's dependencies if any, run your Xcode tests, export an IPA file
from the project and save it.
steps:
- activate-ssh-key@4: {}
- git-clone@8: {}
- xcode-test@5:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- scheme: "$BITRISE_SCHEME"
- test_repetition_mode: retry_on_failure
- cache_level: none
- xcode-archive@5:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- scheme: "$BITRISE_SCHEME"
- distribution_method: "$BITRISE_DISTRIBUTION_METHOD"
- automatic_code_signing: api-key
- cache_level: none
- deploy-to-bitrise-io@2: {}
run_tests:
summary: Run your Xcode tests and get the test report.
description: The workflow will first clone your Git repository, cache and install
your project's dependencies if any, run your Xcode tests and save the test results.
steps:
- activate-ssh-key@4: {}
- git-clone@8: {}
- xcode-test@5:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- scheme: "$BITRISE_SCHEME"
- test_repetition_mode: retry_on_failure
- cache_level: none
- deploy-to-bitrise-io@2: {}
meta:
bitrise.io:
stack: osx-xcode-15.2.x
machine_type_id: g2-m1.4core
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: Numero.xcodeproj
- opts:
is_expand: false
BITRISE_SCHEME: Numero
- opts:
is_expand: false
BITRISE_DISTRIBUTION_METHOD: development
trigger_map:
- push_branch: main
workflow: run_tests
- pull_request_source_branch: "*"
workflow: run_tests