Moved from Gradle to bld
This commit is contained in:
parent
22c5d30ace
commit
e99fad47c7
89 changed files with 1087 additions and 907 deletions
|
@ -1,31 +1,21 @@
|
|||
image: gradle:7-jdk11
|
||||
image: java:11:latest
|
||||
|
||||
variables:
|
||||
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
||||
|
||||
before_script:
|
||||
- export GRADLE_USER_HOME=`pwd`/.gradle
|
||||
cache:
|
||||
paths:
|
||||
- .m2/repository/
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
build:
|
||||
download:
|
||||
stage: build
|
||||
script: gradle --build-cache assemble
|
||||
cache:
|
||||
key: "$CI_COMMIT_REF_NAME"
|
||||
policy: push
|
||||
paths:
|
||||
- build
|
||||
- .gradle
|
||||
script: ./bld download
|
||||
|
||||
compile:
|
||||
stage: build
|
||||
script: ./bld compile
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script: gradle check
|
||||
cache:
|
||||
key: "$CI_COMMIT_REF_NAME"
|
||||
policy: pull
|
||||
paths:
|
||||
- build
|
||||
- .gradle
|
||||
script: ./bld test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue