This repository has been archived by the owner on Oct 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
bitrise.yml
74 lines (57 loc) · 1.61 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
#
# bitrise.yml
#
# Copyright © 2017 Netguru Sp. z o.o. All rights reserved.
#
# CLI metadata
format_version: 1.3.1
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
# Workflow trigger map
trigger_map:
- pull_request_target_branch: develop
workflow: build
- push_branch: develop
workflow: build
# Environment configuration
app:
envs:
- XCODEBUILD_PROJECT: ./CarLensCollectionViewLayout.xcodeproj
# Workflow declarations
workflows:
# Top level build workflows
build:
envs:
- XCODEBUILD_SCHEME: CarLensCollectionViewLayout
- XCODEBUILD_SCHEME_DEMO: CarLensCollectionViewLayoutDemo
before_run:
- build-lib
- build-demo
- cocoapods-test
after_run:
- deploy-artifacts
build-lib:
steps:
- script:
title: build-lib
inputs:
- content: xcodebuild -project $XCODEBUILD_PROJECT -scheme $XCODEBUILD_SCHEME -destination 'platform=iOS Simulator,name=iPhone 7 Plus'
build-demo:
steps:
- script:
title: build-demo
inputs:
- content: xcodebuild -project $XCODEBUILD_PROJECT -scheme $XCODEBUILD_SCHEME_DEMO -destination 'platform=iOS Simulator,name=iPhone 7 Plus'
cocoapods-test:
steps:
- script:
title: cocoapods-lint
inputs:
# -- allow-warnings should be removed once repository is public
- content: pod lib lint --allow-warnings
# Deploy workflows
deploy-artifacts:
steps:
- deploy-to-bitrise-io:
inputs:
- notify_user_groups: none
- is_enable_public_page: false