.gitlab-ci.yml 424 Bytes
Newer Older
Romain Hunault's avatar
Romain Hunault committed
1
image: "registry.gitlab.e.foundation:5000/e/apps/docker-android-apps-cicd:legacy"
2
3
4
5
6

stages:
- build

before_script:
7
8
- git submodule sync
- 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/
Vincent Bourgmayer's avatar
Vincent Bourgmayer committed
24
    expire_in: 4 weeks
Vincent Bourgmayer's avatar
Vincent Bourgmayer committed
25