Fixed workflows/pipelines

This commit is contained in:
Erik C. Thauvin 2023-11-11 21:35:15 -08:00
parent f8cf0fd338
commit bcc5fe2cb7
4 changed files with 13 additions and 30 deletions

View file

@ -1,31 +1,11 @@
image: gradle:8-jdk11
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-XX:MaxMetaspaceSize=512m"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
image: openjdk:17
stages:
- build
- test
build:
stage: build
script: gradle --build-cache assemble
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
script:
- ./bld download
- ./bld compile
- ./bld test