bitcoinj/.gitlab-ci.yml

48 lines
1.1 KiB
YAML

bullseye-jdk11:
image: debian:bullseye-slim
before_script:
- apt-get update
- apt-get -y install openjdk-11-jdk-headless gradle
script:
- gradle build --stacktrace
after_script:
- gradle --version
artifacts:
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- core/build/libs/*.jar
bookworm-jdk17:
image: debian:bookworm-slim
before_script:
- apt-get update
- apt-get -y install openjdk-17-jdk-headless gradle
script:
- gradle build --stacktrace
after_script:
- gradle --version
artifacts:
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- core/build/libs/*.jar
trixie-jdk21:
image: debian:trixie-slim
before_script:
- apt-get update
- apt-get -y install openjdk-21-jdk-headless gradle
script:
- gradle build --stacktrace
after_script:
- gradle --version
artifacts:
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- core/build/libs/*.jar
sast:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml