-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathbitrise.yml
More file actions
105 lines (96 loc) · 2.54 KB
/
bitrise.yml
File metadata and controls
105 lines (96 loc) · 2.54 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
format_version: '20'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
app:
envs:
- TEST_SHARD_COUNT: 2
- BITRISE_PROJECT_PATH: code/getting started.xcodeproj
opts:
is_expand: false
- BITRISE_SCHEME: getting started
opts:
is_expand: false
- BITRISE_DISTRIBUTION_METHOD: app-store
opts:
is_expand: false
workflows:
build_test_depoy:
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:
- script:
inputs:
- content: |-
#!/usr/bin/env bash
envman add --key BITRISE_WORKING_DIR --value $(mktemp -d)
- change-workdir:
inputs:
- path: "$BITRISE_WORKING_DIR"
- git-clone@8: {}
- script:
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
# Prepare the keychain
code/ci_actions/01_keychain.sh
# Prepare Amplify
code/ci_actions/02_amplify.sh
title: Pre-Build
- script:
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
# Build
code/ci_actions/03_build.sh
title: Build
- script:
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
# Tests
code/ci_actions/04_local_tests.sh
code/ci_actions/05_devicefarm_tests.sh
title: Tests
- script:
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
# Deploy
code/ci_actions/06_deploy_testflight.sh
title: Deploy
- script:
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
# Cleanup
code/ci_actions/07_cleanup.sh
title: Cleanup
triggers:
push:
- branch: "*"
meta:
bitrise.io:
stack: agent-pool-71860415-46e6-4223-96a2-a98cd4ce7afc