Skip to content

Commit b78aa94

Browse files
committed
iterate on workflow syntax
1 parent 90eae16 commit b78aa94

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/swift.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
cd ..
3636
- name: Install Swift Toolchain
3737
run: |
38+
pwd
39+
echo `pwd`
3840
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
3941
echo "Sha sum: $(sha256sum swift-5.6-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')"
4042
if [ "$(sha256sum swift-5.6-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')" != "${EXPECTED_SWIFT_SHASUM}" ]; then
@@ -54,7 +56,7 @@ jobs:
5456
run: cargo install --force cbindgen
5557
- name: Regenerate C bindings
5658
run: |
57-
cd ldk-c-bindings
59+
cd ci/ldk-c-bindings
5860
./genbindings.sh ../rust-lightning true
5961
cd ..
6062
- name: Debug bindings target directory structure
@@ -135,12 +137,17 @@ jobs:
135137
runs-on: ubuntu-20.04
136138
needs: check_bindings
137139
steps:
140+
- name: Download code coverage results archive
141+
uses: actions/download-artifact@v3
142+
with:
143+
name: ci_archive
144+
path: ci
138145
- name: Test Swift bindings package without address sanitizer
139146
run: |
140147
python ci/toggle_address_sanitation_library.py off
141148
cd ci/LDKSwift
142-
../../swift-5.6-RELEASE-ubuntu20.04/usr/bin/swift test -v
143-
cd ../../
149+
../swift-5.6-RELEASE-ubuntu20.04/usr/bin/swift test -v
150+
cd ../
144151
env:
145152
LDK_C_BINDINGS_BASE: /home/runner/work/ldk-swift/ldk-swift/ldk-c-bindings
146153
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)