Skip to content

Commit e893cb7

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

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/sdks.yml

+4-3
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
@@ -150,6 +148,9 @@ jobs:
150148
mv sysroot $SYSROOT
151149
152150
for arch in aarch64 x86_64 armv7; do
151+
if [[ $arch != 'aarch64' ]]; then
152+
ANDROID_ARCH=$arch BUILD_SWIFT_PM=1 ${TOOLCHAIN}/bin/swift get-packages-and-swift-source.swift
153+
fi
153154
SDK_NAME=$(ls | grep swift-${{ matrix.version }}-android-$arch)
154155
SDK=`pwd`/$SDK_NAME
155156

0 commit comments

Comments
 (0)