Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bfbc0ab authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

Add ci for building apk

parent 834af66a
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
image: "registry.gitlab.e.foundation:5000/e/os/docker-android-apps-cicd:latest"

stages:
  - update-from-upstream
  - build

include:
  - project: 'e/templates'
    ref: master
    file: '/gitlab-ci/.gitlab-ci-import-updates-from-upstream.yml'

before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew

cache:
  key: ${CI_PROJECT_ID}
  paths:
  - .gradle/

build:
  stage: build
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
  script:
  - ./gradlew build
  artifacts:
    paths:
      - build/outputs/apk/