forked from retyui/react-native-ci-cd-compare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitrise.yml
88 lines (80 loc) · 2.18 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
format_version: '8'
default_step_lib_source: 'https://github.com/bitrise-io/bitrise-steplib.git'
project_type: react-native
workflows:
build_android:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@4: {}
- cache-pull@2:
inputs:
- is_debug_mode: 'true'
- yarn@0:
inputs:
- command: install
- install-missing-android-tools@2:
inputs:
- gradlew_path: $PROJECT_LOCATION/gradlew
- android-build@0:
inputs:
- project_location: $PROJECT_LOCATION
- deploy-to-bitrise-io@1: {}
- cache-push@2:
inputs:
- compress_archive: 'true'
- is_debug_mode: 'true'
meta:
bitrise.io:
stack: linux-docker-android
build_ios:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@4: {}
- cache-pull@2:
inputs:
- is_debug_mode: 'true'
- yarn@0:
inputs:
- command: install
- cocoapods-install@1: {}
- script@1:
inputs:
- content: >-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
cd ios
xcodebuild clean archive -workspace
testCiCdReactNative.xcworkspace -scheme testCiCdReactNative
-archivePath testCiCdReactNative.xcarchive CODE_SIGNING_ALLOWED=NO
title: xCode build
- deploy-to-bitrise-io@1: {}
- cache-push@2:
inputs:
- compress_archive: 'true'
- is_debug_mode: 'true'
app:
envs:
- opts:
is_expand: false
PROJECT_LOCATION: android
- opts:
is_expand: false
MODULE: app
- opts:
is_expand: false
VARIANT: ''
- opts:
is_expand: false
BITRISE_PROJECT_PATH: ios/testCiCdReactNative.xcodeproj
- opts:
is_expand: false
BITRISE_SCHEME: testCiCdReactNative
- opts:
is_expand: false
BITRISE_EXPORT_METHOD: development