Skip to content

Commit e79bcaa

Browse files
Merge pull request ocaml#27813 from vincent-botbol/vbot@openjdk-more-os
conf-openjdk: add alpine
2 parents e28c864 + d25664d commit e79bcaa

File tree

1 file changed

+4
-3
lines changed
  • packages/conf-openjdk/conf-openjdk.1

1 file changed

+4
-3
lines changed

packages/conf-openjdk/conf-openjdk.1/opam

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ depexts: [
1313
["java-latest-openjdk-devel"] {os-distribution = "centos"}
1414
["jdk-openjdk"] {os-distribution = "arch"}
1515
["openjdk"] {os-distribution = "homebrew" & os = "macos"}
16+
["openjdk21@edgecommunity"] {os-family = "alpine"}
1617
]
1718
x-ci-accept-failures: [
1819
# requires the user to install a specific openjdk version
1920
"freebsd"
2021
# these fail CI as PATH does not include javac
21-
"alpine-3.20"
2222
"opensuse-15.6"
2323
"opensuse-tumbleweed"
2424
"macos-homebrew"
@@ -28,9 +28,10 @@ x-ci-accept-failures: [
2828
post-messages: [
2929
"Please ensure that the javac binary is installed and is available in PATH"
3030
{failure}
31-
"""
32-
You may need to first install a version of openjdk, e.g., openjdk19"""
31+
"""You may need to first install a version of openjdk, e.g., openjdk19"""
3332
{failure & os-distribution = "freebsd"}
33+
"""You may need to first install a version of openjdk, e.g. winget install Microsoft.OpenJDK.21"""
34+
{ failure & os = "win32"}
3435
]
3536
synopsis: "Virtual package relying on OpenJDK / Javac"
3637
description:

0 commit comments

Comments
 (0)