Skip to content

Commit df80713

Browse files
committed
Fix run-tests.sh script
1 parent 2e26149 commit df80713

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ jobs:
121121
run: swiftly run swift sdk install https://download.swift.org/development/android-sdk/${SWIFT_ANDROID_SDK_VERSION}/${SWIFT_ANDROID_SDK_VERSION}_android-0.1.artifactbundle.tar.gz --checksum ${SWIFT_ANDROID_SDK_CHECKSUM}
122122

123123
- name: List Swift SDKs
124-
run: swiftly run swift sdk list
124+
run: |
125+
swiftly run swift sdk list
126+
swiftly run swift --version
127+
swiftly run swift --version +"${SWIFT_TOOLCHAIN_VERSION}"
125128
126129
- name: Install Android NDK
127130
run: |
@@ -228,7 +231,7 @@ jobs:
228231
git clone https://github.com/${ORG}/${PACKAGE}
229232
cd ${PACKAGE}
230233
231-
swiftly run swift build --swift-sdk "${ANDROID_EMULATOR_ARCH_TRIPLE}-unknown-linux-android${ANDROID_API}" --build-tests
234+
swiftly run swift build --swift-sdk "${ANDROID_EMULATOR_ARCH_TRIPLE}-unknown-linux-android${ANDROID_API}" --build-tests +"${SWIFT_TOOLCHAIN_VERSION}"
232235
233236
adb push .build/debug/${PACKAGE}PackageTests.xctest /data/local/tmp
234237
adb shell /data/local/tmp/${PACKAGE}PackageTests.xctest
@@ -237,6 +240,9 @@ jobs:
237240
chmod +x run-tests.sh
238241
cat run-tests.sh
239242
243+
- name: Run swift-numerics tests
244+
run: ./run-tests.sh apple/swift-numerics
245+
240246
- name: Run swift-algorithms tests
241247
run: ./run-tests.sh apple/swift-algorithms
242248

@@ -246,3 +252,18 @@ jobs:
246252
- name: Run swift-argument-parser tests
247253
run: ./run-tests.sh apple/swift-argument-parser
248254

255+
- name: Run swift-nio tests
256+
run: ./run-tests.sh apple/swift-nio
257+
258+
- name: Run swift-system tests
259+
run: ./run-tests.sh apple/swift-system
260+
261+
- name: Run swift-collections tests
262+
run: ./run-tests.sh apple/swift-collections
263+
264+
- name: Run swift-atomics tests
265+
run: ./run-tests.sh apple/swift-atomics
266+
267+
- name: Run swift-nio tests
268+
run: ./run-tests.sh apple/swift-nio
269+

0 commit comments

Comments
 (0)