Skip to content

Commit e241aa5

Browse files
committed
CI: update minimum tested Java from 8 to 11
Unfortunately, OpenJDK 8 tests are crashing on CI on (at least) macOS and Ubuntu. Let's see if OpenJDK 11 does any better.
1 parent 7ee9760 commit e241aa5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

bin/test.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,10 @@ do
3636
test "$mode" || continue
3737
msg="${mode%|*}|"
3838
flag=${mode##*|}
39-
for java in 8 21
39+
for java in 11 21
4040
do
41-
# HACK: Skip crashing macOS tests on CI.
42-
test "$RUNNER_OS" = macOS -a "$java" -eq 8 && continue
43-
44-
# Fiji-Latest requires Java 21; skip Fiji-Latest + Java 8.
45-
echo "$msg" | grep -q Fiji-Latest && test "$java" -eq 8 && continue
41+
# Fiji-Latest requires Java 21; skip Fiji-Latest with older Javas.
42+
echo "$msg" | grep -q Fiji-Latest && test "$java" -lt 21 && continue
4643

4744
echo "-------------------------------------"
4845
echo "$msg"

0 commit comments

Comments
 (0)