Fix GitHub workflow jobs so they run, upgrade Swift toolchain, Android API & NDK versions. #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix the GitHub workflow jobs so they run again. In the process, also upgrade the Swift toolchain to a recent version and the Android API level and NDK version to match what is currently used by Android smoke tests in https://github.com/thebrowsercompany/swift-build
This should make it easy to drop this build into the end of https://github.com/compnerd/swift-build/blob/main/.github/workflows/swift-toolchain.yml#L6165 as an additional Android smoke test.
Caveats marked as TODO:
-Xclang-linker -resource-dir -Xclang-linker ${env:ANDROID_NDK_ROOT}\toolchains\llvm\prebuilt\windows-x86_64\lib\clang\18to work around missinglibclang_rt.builtins.aandlibunwind.alibraries in the Swift toolchain by using them from the Android NDK instead.std::__voidify()inconstruct_at.hdue to linker error: private symbol not accessible. This seems to be an issue with the Android NDKclangversion's module map inadvertently hidingstd::__voidify()from Swift.