-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbitrise.yml
More file actions
79 lines (79 loc) · 2.35 KB
/
bitrise.yml
File metadata and controls
79 lines (79 loc) · 2.35 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
---
format_version: '6'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
tools:
ruby: 3.3:installed
workflows:
primary:
steps:
- set-java-version@1:
inputs:
- set_java_version: '17'
- activate-ssh-key:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone: {}
- certificate-and-profile-installer: {}
- nvm@1: {}
- yarn: {}
- yarn@0.1:
inputs:
- command: test
title: Run yarn tests
- cocoapods-install: {}
- xcode-test:
title: Run iOS Unit Tests
- install-missing-android-tools: {}
- gradle-runner:
title: Run Android Codegen for React Native New Architecture
inputs:
- build_root_directory: ./android
- gradle_task: ":generateCodegenArtifactsFromSchema"
- script:
# TODO: Remove this step once Android SDK 37 is fully released and the Bitrise macOS stack
# installs it as 'android-37' rather than 'android-37.0'.
title: Fix Android SDK 37 platform path
inputs:
- content: |-
#!/usr/bin/env bash
set -ex
echo "y" | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" "platforms;android-37.0"
if [ -d "$ANDROID_HOME/platforms/android-37.0" ] && [ ! -e "$ANDROID_HOME/platforms/android-37" ]; then
ln -s "$ANDROID_HOME/platforms/android-37.0" "$ANDROID_HOME/platforms/android-37"
fi
- android-unit-test@1:
inputs:
- is_debug: 'true'
- variant: debug
- project_location: android/
- slack:
is_always_run: true
run_if: "{{(not .IsPR) | and .IsBuildFailed}}"
inputs:
- channel: "$SLACK_SDK_CHANNEL"
- workspace_slack_integration_id: $SLACK_INTEGRATION_ID
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: ios/MarigoldSDKReactNative.xcworkspace
- opts:
is_expand: false
BITRISE_SCHEME: MarigoldSDKReactNativeTests
- opts:
is_expand: false
GRADLEW_PATH: "./android/gradlew"
- opts:
is_expand: false
GRADLE_BUILD_FILE_PATH: android/build.gradle
trigger_map:
- push_branch: "*"
workflow: primary
- pull_request_source_branch: "*"
workflow: primary
- tag: "*"
workflow: primary
meta:
bitrise.io:
stack: osx-xcode-26.4.x
machine_type_id: g2.mac.large