maven/plans/matrix.fmf
2024-07-02 13:45:37 +02:00

112 lines
2.1 KiB
Plaintext

discover:
how: fmf
url: https://src.fedoraproject.org/tests/maven
execute:
how: tmt
/jdk8:
environment:
OPENJDK_VERSION: 1.8.0
prepare:
- how: install
exclude:
- maven-openjdk11
- maven-openjdk17
- maven-openjdk21
/full:
summary: Maven matrix tests - OpenJDK 8 full
discover+:
filter: tag:jdk8
/headless:
summary: Maven matrix tests - OpenJDK 8 headless
discover+:
filter: tag:jre8
environment+:
OPENJDK_HEADLESS: "true"
prepare+:
- how: shell
script: |
dnf -y remove java-*-openjdk
/jdk11:
environment:
OPENJDK_VERSION: 11
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk17
- maven-openjdk21
/full:
summary: Maven matrix tests - OpenJDK 11 full
discover+:
filter: tag:jdk11
/headless:
summary: Maven matrix tests - OpenJDK 11 headless
discover+:
filter: tag:jre11
environment+:
OPENJDK_HEADLESS: "true"
prepare+:
- how: shell
script: |
dnf -y remove java-*-openjdk
/jdk17:
environment:
OPENJDK_VERSION: 17
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk11
- maven-openjdk21
/full:
summary: Maven matrix tests - OpenJDK 17 full
discover+:
filter: tag:jdk17
/headless:
summary: Maven matrix tests - OpenJDK 17 headless
discover+:
filter: tag:jre17
environment+:
OPENJDK_HEADLESS: "true"
prepare+:
- how: shell
script: |
dnf -y remove java-*-openjdk
/jdk21:
environment:
OPENJDK_VERSION: 21
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk11
- maven-openjdk17
/full:
summary: Maven matrix tests - OpenJDK 21 full
discover+:
filter: tag:jdk21
/headless:
summary: Maven matrix tests - OpenJDK 21 headless
discover+:
filter: tag:jre21
environment+:
OPENJDK_HEADLESS: "true"
prepare+:
- how: shell
script: |
dnf -y remove java-*-openjdk