mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 09:50:32 +01:00
c17aea7bd9
Also, move the `apt-get install` lines into the `before_script` sections. This will allow us to add other jobs that don't or can't run these scripts.
28 lines
697 B
YAML
28 lines
697 B
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
|