Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions src/jobs/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ parameters:
description: Should we cache after yarn install? Defaults to true
type: boolean
default: true
on_after_initialize:
description: A custom command to run right after yarn install.
type: string
default: ""
# For the build command
project_path:
description: The path to the root of the Android project you want to build, relative to the root of the repository.
Expand All @@ -37,14 +41,14 @@ parameters:
description: The build type to build. This is normally either "debug" or "release" but you may have custom build types configured for your app.
type: string
default: "debug"
on_after_initialize:
description: A custom command to run right after yarn install.
type: string
default: ""
build_cache:
description: Should we cache after Gradle build? Defaults to true
type: boolean
default: true
assemble_android_test:
description: Configure the android tests to run. Defaults to assembleAndroidTest
type: string
default: assembleAndroidTest

steps:
- when:
Expand All @@ -68,6 +72,7 @@ steps:
project_path: <<parameters.project_path>>
build_type: <<parameters.build_type>>
cache: <<parameters.build_cache>>
assemble_android_test: <<parameters.assemble_android_test>>
- when:
condition: <<parameters.persist_to_workspace>>
steps:
Expand Down