Skip to content
Snippets Groups Projects
Commit 48d6b490 authored by Johannes Mey's avatar Johannes Mey
Browse files

add CI

parent fd0b82ab
No related branches found
No related tags found
No related merge requests found
Pipeline #13310 passed
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
- test
- ragdoc_build
- ragdoc_view
- deploy
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
build:
image: openjdk:11
stage: build
script:
- ./gradlew --console=plain --no-daemon assemble
artifacts:
paths:
- "src/gen"
expire_in: 1 week
test:
image: openjdk:11
stage: test
script:
- ./gradlew --console=plain --no-daemon test
artifacts:
reports:
junit: build/test-results/test/**/TEST-*.xml
publish_dev:
image: openjdk:11
stage: deploy
needs:
- test
script:
- "./gradlew setDevVersionForCI"
- "./gradlew publish"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment