From 46b06fb446e79c390c01953d31d700b8e73da24d Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Mon, 29 Jun 2020 16:04:57 +0200 Subject: Prepare simulator repository for monorepo This change prepares the simulator Git repository for the monorepo residing at https://github.com/atlarge-research.com/opendc. To accomodate for this, we move all files into a simulator subdirectory. --- simulator/.gitlab-ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 simulator/.gitlab-ci.yml (limited to 'simulator/.gitlab-ci.yml') 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 -- cgit v1.2.3