.gitlab-ci.yml: replace build matrix by independant build entries

This commit is contained in:
Andreas Schildbach 2023-03-29 14:45:17 +02:00
parent 683810366f
commit 70d27747c6

View file

@ -1,16 +1,19 @@
image: ubuntu:focal
before_script:
- apt-get update
- apt-get -y install ${JDK_PACKAGE}
- apt-get -y install gradle
after_script:
- gradle --version
build:
parallel:
matrix:
- JDK_PACKAGE: [ openjdk-8-jdk, openjdk-11-jdk ]
focal-jdk8:
image: ubuntu:focal
script:
- apt-get -y install openjdk-8-jdk
- apt-get -y install gradle
- gradle build --stacktrace
focal-jdk11:
image: ubuntu:focal
script:
- apt-get -y install openjdk-11-jdk
- apt-get -y install gradle
- gradle build --stacktrace