Public | Automated Build

Last pushed: 2 years ago
Short Description
Gitlab CI for Android projects
Full Description

A simple .gitlab-ci.yml would look like this:

image: afzalive/gitlab-ci-android

stages:
  - build

debug:
  stage: build
  except:
    - release
  script:
    - ./gradlew assembleDebug
  artifacts:
    paths:
    - app/build/outputs/apk/app-debug.apk

release:
  stage: build
  only:
    - release
  script:
    - ./gradlew assembleRelease
  artifacts:
    paths:
    - app/build/outputs/apk/app-release.apk
Docker Pull Command
Owner
afzalive
Source Repository