Migrate github ci

This commit is contained in:
Creak 2021-06-26 18:50:26 +00:00 committed by Georg Krause
parent 624acd6907
commit 67ed6c3945
1 changed files with 22 additions and 0 deletions

22
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,22 @@
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