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

Commit d61245b8 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Update .gitlab-ci.yml file

parent fa8c6452
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+28 −0
Original line number Original line Diff line number Diff line
image: "registry.gitlab.e.foundation/e/os/docker-android-apps-cicd:legacy"

stages:
  - build

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

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

build:
  stage: build
  script:
    - |
      ./gradlew assemble
      retval=$?
      if [$retval -ne 0]; then
        echo "error on building, exit code: "$retval
        exit $retval
      fi
  artifacts:
    paths:
      - presentation/build/outputs/apk