Commit 6c7c9f5c authored by Bruno Agrizzi's avatar Bruno Agrizzi

export path

parent 8ee2efe9
...@@ -5,19 +5,9 @@ variables: ...@@ -5,19 +5,9 @@ variables:
ANDROID_CMAKE_REV: "3.6.3155560" ANDROID_CMAKE_REV: "3.6.3155560"
stages: stages:
- build_image
- build - build
- test - test
buildImage:
tags:
- android
only:
- master
stage: build_image
script:
- docker-compose up
build: build:
tags: tags:
- android - android
...@@ -25,6 +15,8 @@ build: ...@@ -25,6 +15,8 @@ build:
- master - master
stage: build stage: build
script: script:
- export ANDROID_HOME=$PWD/sdk
- export PATH=$PATH:$PWD/sdk/platform-tools/
- chmod +x ./gradlew - chmod +x ./gradlew
- ./gradlew assembleDebug - ./gradlew assembleDebug
artifacts: artifacts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment