mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-05 13:18:47 +00:00

Rather than testing with OpenJDK 21 on Debian Trixie (which is an unstable target), test with the default JDK.
35 lines
912 B
YAML
35 lines
912 B
YAML
before_script:
|
|
- apt-get update
|
|
|
|
after_script:
|
|
- gradle --version
|
|
|
|
bullseye-jdk11:
|
|
image: debian:bullseye-slim
|
|
script:
|
|
- apt-get -y install openjdk-11-jdk-headless gradle
|
|
- gradle build --stacktrace
|
|
artifacts:
|
|
name: public-transport-enabler-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
|
paths:
|
|
- build/libs/*.jar
|
|
|
|
bookworm-jdk17:
|
|
image: debian:bookworm-slim
|
|
script:
|
|
- apt-get -y install openjdk-17-jdk-headless gradle
|
|
- gradle build --stacktrace
|
|
artifacts:
|
|
name: public-transport-enabler-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
|
paths:
|
|
- build/libs/*.jar
|
|
|
|
default-jdk:
|
|
image: debian:testing-slim
|
|
script:
|
|
- apt-get -y install default-jdk-headless gradle
|
|
- gradle build --stacktrace
|
|
artifacts:
|
|
name: public-transport-enabler-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
|
|
paths:
|
|
- build/libs/*.jar
|