-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstep.yml
More file actions
83 lines (73 loc) · 3.24 KB
/
Copy pathstep.yml
File metadata and controls
83 lines (73 loc) · 3.24 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
title: Build Cache for React Native
summary: Activates Bitrise Build Cache features for React Native projects
description: |
This Step activates Bitrise Build Cache for all build systems used in a React Native project.
After this Step executes,
- enabling Xcode cache will result in: iOS builds will use the Bitrise Build Cache for Xcode via Xcelerate, with a background proxy started automatically.
- enabling Gradle cache will result in: Android Gradle builds will automatically read from and push entries to the remote cache. C++ native modules will also be compiled using ccache, with a background storage helper started automatically.
website: https://github.com/bitrise-steplib/bitrise-step-activate-react-native-features
source_code_url: https://github.com/bitrise-steplib/bitrise-step-activate-react-native-features
support_url: https://github.com/bitrise-steplib/bitrise-step-activate-react-native-features
project_type_tags:
- react-native
- ios
- android
type_tags:
- utility
run_if: .IsCI
is_skippable: true
toolkit:
go:
package_name: github.com/bitrise-steplib/bitrise-step-activate-react-native-features
inputs:
# -------------------------------------------------------------------------------
# Xcode cache
# -------------------------------------------------------------------------------
- xcode_cache_enabled: "true"
opts:
title: Enable Xcode cache
summary: Enables Bitrise Build Cache for Xcode using Xcelerate
is_required: true
value_options:
- "true"
- "false"
description: |-
Enables Bitrise Build Cache for Xcode. When enabled, activates Xcelerate and starts the Xcelerate proxy in the background.
# -------------------------------------------------------------------------------
# Gradle cache
# -------------------------------------------------------------------------------
- gradle_cache_enabled: "true"
opts:
title: Enable Gradle cache
summary: Enables Bitrise Build Cache for Gradle
is_required: true
value_options:
- "true"
- "false"
description: |-
Enables Bitrise Build Cache for Gradle. When enabled, activates Gradle cache with analytics and remote cache plugins.
# -------------------------------------------------------------------------------
# Debugging
# -------------------------------------------------------------------------------
- verbose: "false"
opts:
title: Verbose logging
summary: Enable logging additional information for troubleshooting
is_required: true
value_options:
- "true"
- "false"
# -------------------------------------------------------------------------------
# Xcode prefix mapping
# -------------------------------------------------------------------------------
- disable_prefix_mapping: "false"
opts:
title: Disable Clang prefix mapping
summary: Disable injecting Clang prefix-mapping flags into the Xcode build cache
is_required: true
value_options:
- "true"
- "false"
description: |-
Disable injecting Clang prefix-mapping flags into xcodebuild for the Xcode build cache.
Prefix mapping canonicalizes rotating source/DerivedData paths so the compilation cache keys stay stable across builds (e.g. when source is checked out into a per-build temp dir). Disable only if it causes issues.