-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbitrise.yml
58 lines (54 loc) · 1.79 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
format_version: "11"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
workflows:
check:
steps:
- git::https://github.com/bitrise-steplib/steps-check.git: { }
e2e:
steps:
- git::https://github.com/bitrise-steplib/steps-check.git:
inputs:
- workflow: e2e
sample:
envs:
- ORIG_BITRISE_SOURCE_DIR: $BITRISE_SOURCE_DIR
- SAMPLE_APP_URL: https://github.com/bitrise-samples/sample-apps-carthage-objc.git
steps:
- change-workdir:
title: Switch working dir to ORIG_BITRISE_SOURCE_DIR
inputs:
- path: $ORIG_BITRISE_SOURCE_DIR
- script:
title: Clean _tmp folder
inputs:
- content: |-
#!/bin/bash
set -e
set -v
rm -rf $ORIG_BITRISE_SOURCE_DIR/_tmp
- script:
title: Clear BITRISE_CACHE_INCLUDE_PATHS env
inputs:
- content: |-
#!/bin/bash
set -ex
envman add --key BITRISE_CACHE_INCLUDE_PATHS --value ""
- git::https://github.com/bitrise-steplib/bitrise-step-simple-git-clone.git@master:
inputs:
- repository_url: $SAMPLE_APP_URL
- clone_into_dir: $ORIG_BITRISE_SOURCE_DIR/_tmp
- branch: master
- change-workdir:
title: Switch working dir to test / _tmp dir
inputs:
- path: $ORIG_BITRISE_SOURCE_DIR/_tmp
- is_create_path: true
- path::./:
inputs:
- xcconfig: https://raw.githubusercontent.com/bitrise-io/sample-apps-carthage-objc/master/static.xcconfig
- carthage_options: --platform ios --project-directory $BITRISE_SOURCE_DIR
generate_readme:
steps:
- git::https://github.com/bitrise-steplib/steps-readme-generator.git@main:
inputs:
- contrib_section: docs/contribution.md