You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
373 B
23 lines
373 B
3 years ago
|
image: jangrewe/gitlab-ci-android
|
||
|
|
||
|
stages:
|
||
|
- build
|
||
|
|
||
|
before_script:
|
||
|
- export GRADLE_USER_HOME=$(pwd)/.gradle
|
||
|
- chmod +x ./gradlew
|
||
|
|
||
|
cache:
|
||
|
key: ${CI_PROJECT_ID}
|
||
|
paths:
|
||
|
- .gradle/
|
||
|
|
||
|
build:
|
||
|
stage: build
|
||
|
script:
|
||
|
- mkdir -p .android && touch .android/repositories.cfg
|
||
|
- ./gradlew assembleDebug
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- app/build/outputs/apk/debug/app-debug.apk
|