BayernMessenger/.buildkite/pipeline.yml

54 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2019-04-30 11:58:00 +00:00
# Use Docker file from https://hub.docker.com/r/runmymind/docker-android-sdk
# Last docker plugin version can be found here:
# https://github.com/buildkite-plugins/docker-buildkite-plugin/releases
# Build debug version of the RiotX application, from the develop branch and the features branches
steps:
- label: "Assemble GPlay Debug version"
agents:
# We use a medium sized instance instead of the normal small ones because
# gradle build is long
queue: "medium"
commands:
- "./gradlew clean lintGplayRelease assembleGplayDebug --stacktrace"
artifact_paths:
- "vector/build/outputs/apk/gplay/debug/*.apk"
branches: "develop feature/*"
plugins:
- docker#v3.1.0:
image: "runmymind/docker-android-sdk"
- label: "Assemble FDroid Debug version"
agents:
# We use a medium sized instance instead of the normal small ones because
# gradle build is long
queue: "medium"
commands:
- "./gradlew clean lintFdroidRelease assembleFdroidDebug --stacktrace"
artifact_paths:
- "vector/build/outputs/apk/fdroid/debug/*.apk"
branches: "develop feature/*"
plugins:
2019-05-06 08:18:32 +00:00
- docker#v3.1.0:
2019-05-07 12:13:50 +00:00
image: "runmymind/docker-android-sdk"
2019-04-30 11:58:00 +00:00
- label: "Build Google Play unsigned APK"
agents:
# We use a medium sized instance instead of the normal small ones because
# gradle build is long
queue: "medium"
commands:
- "./gradlew clean assembleGplayRelease --stacktrace"
artifact_paths:
- "vector/build/outputs/apk/gplay/release/*.apk"
branches: "master"
plugins:
2019-05-06 08:18:32 +00:00
- docker#v3.1.0:
image: "runmymind/docker-android-sdk"
# Code quality
2019-04-30 11:58:00 +00:00
- label: "Code quality"
command: "./tools/check/check_code_quality.sh"