diff options
Diffstat (limited to 'simulator/.gitlab-ci.yml')
| -rw-r--r-- | simulator/.gitlab-ci.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/simulator/.gitlab-ci.yml b/simulator/.gitlab-ci.yml new file mode 100644 index 00000000..a095f7e7 --- /dev/null +++ b/simulator/.gitlab-ci.yml @@ -0,0 +1,34 @@ +image: gradle:6.1-jdk13 + +variables: + GRADLE_OPTS: "-Dorg.gradle.daemon=false" + +before_script: + - export GRADLE_USER_HOME=`pwd`/.gradle + +stages: + - build + - test + +build: + stage: build + script: + - gradle --build-cache assemble + allow_failure: false + cache: + key: "$CI_COMMIT_REF_NAME" + policy: push + paths: + - build + - .gradle + +test: + stage: test + script: + - gradle check + cache: + key: "$CI_COMMIT_REF_NAME" + policy: pull + paths: + - build + - .gradle |
