Sign inSign up

ioribranford/gitlab-ci-android-ndk

By ioribranford

•Updated over 8 years ago

Fork of jangrewe/gitlab-ci-android with NDK

Image
0

217

ioribranford/gitlab-ci-android-ndk repository overview

⁠gitlab-ci-android

This Docker image contains the Android SDK, NDK, 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: ioribranford/gitlab-ci-android-ndk

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

Tag summary

Content type

Image

Digest

Size

2.1 GB

Last updated

over 8 years ago

docker pull ioribranford/gitlab-ci-android-ndk