Skip to content

Commit

Permalink
Disable cross-compiling trunk sourcekit-lsp on the CI till I figure o…
Browse files Browse the repository at this point in the history
…ut what to do about its new swift-docc dependency
  • Loading branch information
finagolfin committed Feb 2, 2025
1 parent 93aef2c commit cba066e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,12 @@ jobs:
if [ ${{ matrix.version }} = 'release' ]; then
git apply swift-android-ci-release.patch swift-android-foundation-release.patch
perl -pi -e 's%r26%ndk/27%' swift/stdlib/cmake/modules/AddSwiftStdlib.cmake
LSP_BUILD="--sourcekit-lsp"
else
if [ ${{ matrix.version }} = 'devel' ]; then
git apply swift-android-devel.patch
perl -pi -e 's%r26%ndk/27%' swift/stdlib/cmake/modules/AddSwiftStdlib.cmake
LSP_BUILD="--sourcekit-lsp"
fi
git apply swift-android-ci-except-release.patch swift-android-foundation-except-release.patch
fi
Expand All @@ -158,7 +160,7 @@ jobs:
perl -pi -e "s%/data/data/com.termux/files%$SDK%g" $SDK/usr/lib/pkgconfig/sqlite3.pc
fi
./swift/utils/build-script -RA --skip-build-cmark --build-llvm=0 --android --android-ndk $ANDROID_NDK_LATEST_HOME --android-arch $arch --android-api-level $ANDROID_API_LEVEL --build-swift-tools=0 --native-swift-tools-path=${TOOLCHAIN}/bin --native-clang-tools-path=${TOOLCHAIN}/bin --cross-compile-hosts=android-$arch --cross-compile-deps-path=$SDK --skip-local-build --build-swift-static-stdlib --xctest --skip-early-swift-driver --install-swift --install-libdispatch --install-foundation --install-xctest --install-destdir=$SDK --swift-install-components='compiler;clang-resource-dir-symlink;license;stdlib;sdk-overlay' --cross-compile-append-host-target-to-destdir=False -b -p --install-llbuild --sourcekit-lsp --skip-early-swiftsyntax
./swift/utils/build-script -RA --skip-build-cmark --build-llvm=0 --android --android-ndk $ANDROID_NDK_LATEST_HOME --android-arch $arch --android-api-level $ANDROID_API_LEVEL --build-swift-tools=0 --native-swift-tools-path=${TOOLCHAIN}/bin --native-clang-tools-path=${TOOLCHAIN}/bin --cross-compile-hosts=android-$arch --cross-compile-deps-path=$SDK --skip-local-build --build-swift-static-stdlib --xctest --skip-early-swift-driver --install-swift --install-libdispatch --install-foundation --install-xctest --install-destdir=$SDK --swift-install-components='compiler;clang-resource-dir-symlink;license;stdlib;sdk-overlay' --cross-compile-append-host-target-to-destdir=False -b -p --install-llbuild $LSP_BUILD --skip-early-swiftsyntax
pushd ${SDK_NAME}/usr
Expand Down

0 comments on commit cba066e

Please sign in to comment.