.gitlab-ci.yml 400 Bytes
Newer Older
1
2
3
4
5
6
image: "registry.gitlab.e.foundation:5000/e/apps/docker-android-apps-cicd:latest"

stages:
- build

before_script:
Romain Hunault's avatar
Romain Hunault committed
7
- git submodule sync
8
- git submodule update --init --recursive
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew

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

build:
  stage: build
  script:
  - ./gradlew build
  artifacts:
    paths:
    - app/build/outputs/apk/