Skip to content

Commit

Permalink
Enable JDK 21 builds
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley <73482956+ascopes@users.noreply.github.com>
  • Loading branch information
ascopes committed May 6, 2023
1 parent c0f1258 commit 03c155d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ jobs:
fail-fast: false
matrix:
os-name: [ubuntu-22.04]
java-version: [11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
java-version: [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21-ea]
include:
# Mockito doesn't yet support Java 21, so let's comment it out for now.
# - os-name: ubuntu-22.04
# java-version: 21-ea

# MacOS builds (only check Java 17).
- os-name: macos-12
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Java 11+](https://img.shields.io/badge/Java-11--20-brown?logo=openjdk)
![Java 11+](https://img.shields.io/badge/Java-11--21-brown?logo=openjdk)
[![Build Status](https://github.com/ascopes/java-compiler-testing/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/ascopes/java-compiler-testing/actions/workflows/build.yml)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.ascopes.jct/java-compiler-testing)](https://repo1.maven.org/maven2/io/github/ascopes/jct/java-compiler-testing)
[![Code Coverage](https://codecov.io/gh/ascopes/java-compiler-testing/branch/main/graph/badge.svg?token=VT74BP2742)](https://codecov.io/gh/ascopes/java-compiler-testing)
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,12 @@
Tired compilation is modified to reduce the amount of time the JVM wastes JITing
code during tests.
Byte Buddy experimental support enables running ByteBuddy (used by Mockito) in JDK
experimental builds.
-->
<argLine>
-Dnet.bytebuddy.experimental=true
-Dorg.slf4j.simpleLogger.log=INFO
-Dorg.slf4j.simpleLogger.log.io.github.ascopes.jct=TRACE
-Xshare:off
Expand Down

0 comments on commit 03c155d

Please sign in to comment.