Skip to content

Commit 913611b

Browse files
committed
Don't download non-aarch64 Termux libraries on the CI until needed
1 parent a2f57f7 commit 913611b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/sdks.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ jobs:
122122
123123
cd sdk-config
124124
125-
for arch in aarch64 x86_64 armv7; do
126-
ANDROID_ARCH=$arch BUILD_SWIFT_PM=1 ${TOOLCHAIN}/bin/swift get-packages-and-swift-source.swift
127-
done
125+
ANDROID_ARCH=aarch64 BUILD_SWIFT_PM=1 ${TOOLCHAIN}/bin/swift get-packages-and-swift-source.swift
128126
129127
git apply swift-android.patch
130128
git apply -C1 swift-android-ci.patch
@@ -151,6 +149,9 @@ jobs:
151149
mv sysroot $SYSROOT
152150
153151
for arch in aarch64 x86_64 armv7; do
152+
if [[ $arch != 'aarch64' ]]; then
153+
ANDROID_ARCH=$arch BUILD_SWIFT_PM=1 ${TOOLCHAIN}/bin/swift get-packages-and-swift-source.swift
154+
fi
154155
SDK_NAME=$(ls | grep swift-${{ matrix.version }}-android-$arch)
155156
SDK=`pwd`/$SDK_NAME
156157

0 commit comments

Comments
 (0)