mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-18 04:50:08 +03:00
Better fix
This commit is contained in:
parent
528958b3de
commit
ffa8b7e73a
1 changed files with 7 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Use Docker file from https://hub.docker.com/r/runmymind/docker-android-sdk
|
# Use Docker file from https://hub.docker.com/r/runmymind/docker-android-sdk
|
||||||
# Last docker plugin version can be found here:
|
# Last docker plugin version can be found here:
|
||||||
# https://github.com/buildkite-plugins/docker-buildkite-plugin/releases
|
# https://github.com/buildkite-plugins/docker-buildkite-plugin/releases
|
||||||
|
# We propagate the environment to the container (sse https://github.com/buildkite-plugins/docker-buildkite-plugin#propagate-environment-optional-boolean)
|
||||||
|
|
||||||
# Build debug version of the RiotX application, from the develop branch and the features branches
|
# Build debug version of the RiotX application, from the develop branch and the features branches
|
||||||
|
|
||||||
|
@ -11,14 +12,14 @@ steps:
|
||||||
# gradle build is long
|
# gradle build is long
|
||||||
queue: "medium"
|
queue: "medium"
|
||||||
commands:
|
commands:
|
||||||
# Workaround to set env variables from Buildkite. If we do not do that, the gradle script does not see the Buildkite env variables
|
- "./gradlew clean lintGplayRelease assembleGplayDebug --stacktrace"
|
||||||
- "BUILDKITE_BRANCH=\"$BUILDKITE_BRANCH\" BUILDKITE_BUILD_NUMBER=\"$BUILDKITE_BUILD_NUMBER\" ./gradlew clean lintGplayRelease assembleGplayDebug --stacktrace"
|
|
||||||
artifact_paths:
|
artifact_paths:
|
||||||
- "vector/build/outputs/apk/gplay/debug/*.apk"
|
- "vector/build/outputs/apk/gplay/debug/*.apk"
|
||||||
branches: "!master"
|
branches: "!master"
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.1.0:
|
- docker#v3.1.0:
|
||||||
image: "runmymind/docker-android-sdk"
|
image: "runmymind/docker-android-sdk"
|
||||||
|
propagate-environment: true
|
||||||
|
|
||||||
- label: "Assemble FDroid Debug version"
|
- label: "Assemble FDroid Debug version"
|
||||||
agents:
|
agents:
|
||||||
|
@ -26,14 +27,14 @@ steps:
|
||||||
# gradle build is long
|
# gradle build is long
|
||||||
queue: "medium"
|
queue: "medium"
|
||||||
commands:
|
commands:
|
||||||
# Workaround to set env variables from Buildkite. If we do not do that, the gradle script does not see the Buildkite env variables
|
- "./gradlew clean lintFdroidRelease assembleFdroidDebug --stacktrace"
|
||||||
- "BUILDKITE_BRANCH=\"$BUILDKITE_BRANCH\" BUILDKITE_BUILD_NUMBER=\"$BUILDKITE_BUILD_NUMBER\" ./gradlew clean lintFdroidRelease assembleFdroidDebug --stacktrace"
|
|
||||||
artifact_paths:
|
artifact_paths:
|
||||||
- "vector/build/outputs/apk/fdroid/debug/*.apk"
|
- "vector/build/outputs/apk/fdroid/debug/*.apk"
|
||||||
branches: "!master"
|
branches: "!master"
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.1.0:
|
- docker#v3.1.0:
|
||||||
image: "runmymind/docker-android-sdk"
|
image: "runmymind/docker-android-sdk"
|
||||||
|
propagate-environment: true
|
||||||
|
|
||||||
- label: "Build Google Play unsigned APK"
|
- label: "Build Google Play unsigned APK"
|
||||||
agents:
|
agents:
|
||||||
|
@ -41,14 +42,14 @@ steps:
|
||||||
# gradle build is long
|
# gradle build is long
|
||||||
queue: "medium"
|
queue: "medium"
|
||||||
commands:
|
commands:
|
||||||
# Workaround to set env variables from Buildkite. If we do not do that, the gradle script does not see the Buildkite env variables
|
- "./gradlew clean assembleGplayRelease --stacktrace"
|
||||||
- "BUILDKITE_BRANCH=\"$BUILDKITE_BRANCH\" BUILDKITE_BUILD_NUMBER=\"$BUILDKITE_BUILD_NUMBER\" ./gradlew clean assembleGplayRelease --stacktrace"
|
|
||||||
artifact_paths:
|
artifact_paths:
|
||||||
- "vector/build/outputs/apk/gplay/release/*.apk"
|
- "vector/build/outputs/apk/gplay/release/*.apk"
|
||||||
branches: "master"
|
branches: "master"
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.1.0:
|
- docker#v3.1.0:
|
||||||
image: "runmymind/docker-android-sdk"
|
image: "runmymind/docker-android-sdk"
|
||||||
|
propagate-environment: true
|
||||||
|
|
||||||
# Code quality
|
# Code quality
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue