Skip to content

Commit b6b8216

Browse files
committed
Install Swift toolchain prior to bothering with Valgrind
1 parent fff549e commit b6b8216

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
@@ -31,13 +31,6 @@ jobs:
3131
echo "ldk-c-bindings commit hash:"
3232
git rev-parse HEAD
3333
cd ..
34-
- name: Install native Rust toolchain, Valgrind, and build utilitis
35-
run: |
36-
sudo apt-get update
37-
sudo apt-get -y dist-upgrade
38-
sudo apt-get -y install cargo valgrind lld git g++ clang curl
39-
- name: Install cbindgen
40-
run: cargo install --force cbindgen
4134
- name: Install Swift Toolchain
4235
run: |
4336
curl https://swift.org/builds/swift-5.4.2-release/ubuntu2004/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-ubuntu20.04.tar.gz > swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
@@ -47,6 +40,13 @@ jobs:
4740
exit 1
4841
fi
4942
tar xvvf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
43+
- name: Install native Rust toolchain, Valgrind, and build utilitis
44+
run: |
45+
sudo apt-get update
46+
sudo apt-get -y dist-upgrade
47+
sudo apt-get -y install cargo valgrind lld git g++ clang curl
48+
- name: Install cbindgen
49+
run: cargo install --force cbindgen
5050
- name: Regenerate C bindings
5151
run: |
5252
cd ldk-c-bindings

0 commit comments

Comments
 (0)