There was an error while loading. Please reload this page.
1 parent 00f5380 commit e8a138fCopy full SHA for e8a138f
1 file changed
.github/docker/Dockerfile
@@ -23,9 +23,10 @@ RUN mkdir -p "$(dirname "$ANDROID_NDK_HOME")" \
23
RUN swift sdk install "$SWIFT_SDK_URL" --checksum "$SWIFT_SDK_CHECKSUM" \
24
&& swift sdk list
25
26
-# the artifact bundle expects the NDK sysroot at `ndk-sysroot` inside the bundle
+# the bundle ships a script that links the NDK sysroot, the clang resource
27
+# directory and swiftrt.o into place, using ANDROID_NDK_HOME
28
RUN BUNDLE=$(dirname "$(find / -path '*swift-sdks*' -name 'swift-sdk.json' | head -1)") \
- && ln -s "$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/sysroot" "$BUNDLE/ndk-sysroot" \
29
+ && "$BUNDLE/scripts/setup-android-sdk.sh" \
30
&& test -f "$BUNDLE/ndk-sysroot/usr/include/jni.h"
31
32
WORKDIR /package
0 commit comments