Skip to content

Windows testing#10

Merged
ktoso merged 22 commits intoswiftlang:mainfrom
swift-android-sdk:windows-testing
Mar 12, 2026
Merged

Windows testing#10
ktoso merged 22 commits intoswiftlang:mainfrom
swift-android-sdk:windows-testing

Conversation

@marcprux
Copy link
Contributor

This PR fixes the default libjvmPaths searched for the dynamic Java library on Windows. It adds a windows_pre_build_command script to install a JVM on the Windows CI runner so the loadJVMAndCallMethod test can be run.

Now the only CI runner that doesn't support the loadJVMAndCallMethod test is Android, so we also add a SWIFT_JAVA_JNI_TEST_JVM environment variable check that can be used to enable/disable the test for local testing.

@marcprux
Copy link
Contributor Author

Why didn't the checks run on this PR?

Copy link
Collaborator

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice lgtm

@ktoso ktoso merged commit 15f577f into swiftlang:main Mar 12, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants