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

Commit efdfcb73 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Build debug apk in ci

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

stages:
  - auto-merge-main
  - update-from-upstream
  - build

include:
  - project: 'e/templates'
@@ -15,3 +18,21 @@ main:
  variables:
    UPSTREAM_BRANCH: lineage-23.2
    LOCAL_BRANCH: main

before_script:
  - export GRADLE_USER_HOME="$CI_PROJECT_DIR/.gradle"
  - chmod +x ./gradlew

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

build:
  stage: build
  script:
    - ./gradlew assembleDebug
  artifacts:
    when: always
    paths:
      - build/outputs/apk/debug