Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Windows OS to the matrix for GraalVM CI tests #2955

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/check_graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-11]
os: [ubuntu-20.04, macos-11, windows-2022]
transport: [native, nio]
exclude:
# excludes native on Windows (there's none)
- os: windows-2022
transport: native

steps:
- uses: actions/checkout@v4
Expand All @@ -24,8 +28,10 @@ jobs:
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
download_url="https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-17.0.9/graalvm-community-jdk-17.0.9_linux-x64_bin.tar.gz"
else
elif [ "$RUNNER_OS" == "macOS" ]; then
download_url="https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-17.0.9/graalvm-community-jdk-17.0.9_macos-x64_bin.tar.gz"
else
download_url="https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-17.0.9/graalvm-community-jdk-17.0.9_windows-x64_bin.zip"
fi
curl -L $download_url --output $RUNNER_TEMP/java_package.tar.gz
shell: bash
Expand Down
1 change: 1 addition & 0 deletions reactor-netty-graalvm-smoke-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ graalvmNative {
if (project.hasProperty("forceTransport")) {
runtimeArgs.add("-DforceTransport=$forceTransport")
}
buildArgs.add('--initialize-at-run-time=sun.net.dns.ResolverConfigurationImpl')
}
}
metadataRepository {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,12 @@
]
}
]
},
{
"name":"sun.net.dns.ResolverConfigurationImpl",
"fields":[
{"name":"os_searchlist"},
{"name":"os_nameservers"}
]
}
]