Skip to content

Commit 0a51816

Browse files
committed
use swift 5.6 for async support
1 parent af8a92f commit 0a51816

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/swift.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
cd ..
3535
- name: Install Swift Toolchain
3636
run: |
37-
curl --verbose -L -o swift-5.4.2-RELEASE-ubuntu20.04.tar.gz https://swift.org/builds/swift-5.4.2-release/ubuntu2004/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
38-
echo "Sha sum: $(sha256sum swift-5.4.2-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')"
39-
if [ "$(sha256sum swift-5.4.2-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')" != "${EXPECTED_SWIFT_SHASUM}" ]; then
37+
curl --verbose -L -o swift-5.6-RELEASE-ubuntu20.04.tar.gz https://download.swift.org/swift-5.6-release/ubuntu2004/swift-5.6-RELEASE/swift-5.6-RELEASE-ubuntu20.04.tar.gz
38+
echo "Sha sum: $(sha256sum swift-5.6-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')"
39+
if [ "$(sha256sum swift-5.6-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')" != "${EXPECTED_SWIFT_SHASUM}" ]; then
4040
echo "Bad hash"
41-
echo "Contents: \n$(cat swift-5.4.2-RELEASE-ubuntu20.04.tar.gz)"
41+
echo "Contents: \n$(cat swift-5.6-RELEASE-ubuntu20.04.tar.gz)"
4242
exit 1
4343
fi
44-
tar xvvf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
44+
tar xvvf swift-5.6-RELEASE-ubuntu20.04.tar.gz
4545
env:
4646
EXPECTED_SWIFT_SHASUM: 86b849d9f6ba2eda4e12ea5eafaa0748bffcd6272466b514c2b0fd4a829c63a4
4747
- name: Install native Rust toolchain, Valgrind, and build utilitis
@@ -91,7 +91,7 @@ jobs:
9191
- name: Build Swift bindings package
9292
run: |
9393
cd ci/LDKSwift
94-
../../swift-5.4.2-RELEASE-ubuntu20.04/usr/bin/swift build
94+
../../swift-5.6-RELEASE-ubuntu20.04/usr/bin/swift build
9595
cd ../../
9696
env:
9797
LDK_C_BINDINGS_BASE: /home/runner/work/ldk-swift/ldk-swift/ldk-c-bindings
@@ -100,7 +100,7 @@ jobs:
100100
- name: Test Swift bindings package
101101
run: |
102102
cd ci/LDKSwift
103-
../../swift-5.4.2-RELEASE-ubuntu20.04/usr/bin/swift test -v
103+
../../swift-5.6-RELEASE-ubuntu20.04/usr/bin/swift test -v
104104
env:
105105
LDK_C_BINDINGS_BASE: /home/runner/work/ldk-swift/ldk-swift/ldk-c-bindings
106106
LLVM_CLANG_ASAN_PATH: /usr/lib/llvm-11/lib/clang/11.0.0/lib/linux/libclang_rt.asan-x86_64.a

0 commit comments

Comments
 (0)