bitcoinj/.gitlab-ci.yml

63 lines
1.8 KiB
YAML
Raw Normal View History

reference:
image: debian:bookworm-slim
before_script:
- apt-get update
- apt-get -y install ca-certificates buildah
# switch to iptables legacy, as GitLab CI doesn't support nftables
- apt-get -y install --no-install-recommends iptables
- update-alternatives --set iptables /usr/sbin/iptables-legacy
script:
- buildah build --file build.Containerfile --output build .
artifacts:
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- build/**
bullseye-jdk11:
image: debian:bullseye-slim
before_script:
- apt-get update
- apt-get -y install openjdk-11-jdk-headless gradle
script:
- gradle build :bitcoinj-core:publishToMavenLocal :bitcoinj-wallettool:installDist --stacktrace
after_script:
- gradle --version
2023-03-26 00:08:28 +01:00
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 :bitcoinj-core:publishToMavenLocal :bitcoinj-wallettool:installDist --stacktrace
after_script:
- gradle --version
2023-03-26 00:08:28 +01:00
artifacts:
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- core/build/libs/*.jar
2023-04-20 01:19:32 +02:00
trixie-jdk21:
image: debian:trixie-slim
before_script:
- apt-get update
- apt-get -y install openjdk-21-jdk-headless gradle
script:
- gradle build :bitcoinj-core:publishToMavenLocal :bitcoinj-wallettool:installDist --stacktrace
after_script:
- gradle --version
artifacts:
name: bitcoinj-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA
paths:
- core/build/libs/*.jar
2023-04-20 01:19:32 +02:00
sast:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml