Add gitlab yaml
This commit is contained in:
parent
92611d1e81
commit
e480230f27
1 changed files with 21 additions and 0 deletions
21
.gitlab-ci.yml
Normal file
21
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
image: "registry.gitlab.e.foundation/e/os/docker-android-apps-cicd:latest"
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- export GRADLE_USER_HOME=$(pwd)/.gradle
|
||||||
|
- chmod +x ./gradlew
|
||||||
|
|
||||||
|
cache:
|
||||||
|
key: ${CI_PROJECT_ID}
|
||||||
|
paths:
|
||||||
|
- .gradle/
|
||||||
|
|
||||||
|
buildRelease:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- ./gradlew :assembleRelease
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- sample/build/outputs/apk/release/
|
Loading…
Reference in a new issue