Skip to content

Commit 9062672

Browse files
committed
Enable building trunk SwiftPM on the CI again
1 parent 08cf20f commit 9062672

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/sdks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,11 @@ jobs:
127127
git apply -C1 swift-android.patch swift-android-ci.patch
128128
if ${{ matrix.version == 'release' }}; then
129129
perl -pi -e 's%r26%ndk/27%' swift/stdlib/cmake/modules/AddSwiftStdlib.cmake
130-
LSP_BUILD="-p --sourcekit-lsp"
130+
LSP_BUILD="--sourcekit-lsp"
131131
git apply swift-android-ci-release.patch swift-android-testing-release.patch
132132
else
133133
if ${{ matrix.version == 'devel' }}; then
134134
git apply swift-android-ci-devel.patch
135-
LSP_BUILD="-p"
136135
else
137136
git apply swift-android-trunk-libdispatch.patch
138137
fi
@@ -160,7 +159,7 @@ jobs:
160159
SDK_NAME=$(ls | grep swift-${{ matrix.version }}-android-$arch)
161160
SDK=`pwd`/$SDK_NAME
162161
163-
./swift/utils/build-script -RA --skip-build-cmark --build-llvm=0 --android --android-ndk $ANDROID_NDK_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 --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 --install-llbuild --swift-testing --install-swift-testing $LSP_BUILD
162+
./swift/utils/build-script -RA --skip-build-cmark --build-llvm=0 --android --android-ndk $ANDROID_NDK_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 --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 --install-llbuild --swift-testing --install-swift-testing -p $LSP_BUILD
164163
165164
rm $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/swift
166165

0 commit comments

Comments
 (0)