maven/plans/smoke.fmf
Trung Lê f4afe589da Build with default JDK 21 (rhbz#2239868)
Signed-off-by: Trung Lê <8@tle.id.au>
2023-09-21 01:09:49 +10:00

98 lines
1.8 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: Basic smoke tests (OpenJDK 8 full)
/headless:
summary: Basic smoke tests (OpenJDK 8 headless)
discover+:
filter: tag:-java-compiler
environment+:
OPENJDK_HEADLESS: true
prepare+:
- how: shell
script: |
dnf -y erase java-*-openjdk
/jdk11:
environment:
OPENJDK_VERSION: 11
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk17
- maven-openjdk21
/full:
summary: Basic smoke tests (OpenJDK 11 full)
/headless:
summary: Basic smoke tests (OpenJDK 11 headless)
environment+:
OPENJDK_HEADLESS: true
prepare+:
- how: shell
script: |
dnf -y erase java-*-openjdk
/jdk17:
environment:
OPENJDK_VERSION: 17
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk11
- maven-openjdk21
/full:
summary: Basic smoke tests (OpenJDK 17 full)
/headless:
summary: Basic smoke tests (OpenJDK 17 headless)
environment+:
OPENJDK_HEADLESS: true
prepare+:
- how: shell
script: |
dnf -y erase java-*-openjdk
/jdk21:
environment:
OPENJDK_VERSION: 21
prepare:
- how: install
exclude:
- maven-openjdk8
- maven-openjdk11
- maven-openjdk17
/full:
summary: Basic smoke tests (OpenJDK 21 full)
/headless:
summary: Basic smoke tests (OpenJDK 21 headless)
environment+:
OPENJDK_HEADLESS: true
prepare+:
- how: shell
script: |
dnf -y erase java-*-openjdk