Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jangrewe/gitlab-ci-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

104 Commits

Repository files navigation

gitlab-ci-android

This Docker image contains the Android SDK and most common packages necessary for building Android apps in a CI tool like GitLab CI. Make sure your CI environment's caching works as expected, this greatly improves the build time, especially if you use multiple build jobs.

A .gitlab-ci.yml with caching of your project's dependencies would look like this:

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:
 - ./gradlew assembleDebug
 artifacts:
 paths:
 - app/build/outputs/apk/app-debug.apk

About

GitLab CI image for building Android apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11

AltStyle によって変換されたページ (->オリジナル) /