Skip to content

Commit df31b23

Browse files
committed
Use release binary, and debug target contents
1 parent 539fa96 commit df31b23

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/swift.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,16 @@ jobs:
9999
cd ci/LDKSwift
100100
env
101101
# remove target output
102-
rm -rf ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings/target
102+
# rm -rf ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings/target
103+
104+
# debug the target
105+
find "${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings/target"
106+
107+
# build the actual swift binary
103108
../../swift-5.7.2-RELEASE-ubuntu22.04/usr/bin/swift build
104109
env:
105110
LDK_C_BINDINGS_BASE: ${{ github.workspace }}/ci/ldk-c-bindings
111+
LDK_C_BINDINGS_BINARY_DIRECTORY: ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings/target/release
106112
RUST_BACKTRACE: 1
107113
- name: Test Swift bindings package without address sanitizer
108114
run: |
@@ -111,6 +117,7 @@ jobs:
111117
../../swift-5.7.2-RELEASE-ubuntu22.04/usr/bin/swift test -v
112118
env:
113119
LDK_C_BINDINGS_BASE: ${{ github.workspace }}/ci/ldk-c-bindings
120+
LDK_C_BINDINGS_BINARY_DIRECTORY: ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings/target/release
114121
RUST_BACKTRACE: 1
115122
- name: Build Swift bindings package with address sanitizer
116123
run: |

0 commit comments

Comments
 (0)