File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -94,26 +94,28 @@ jobs:
94
94
- name : Verify generated output recency
95
95
run : |
96
96
git diff --exit-code out/ ':(exclude)out/VersionDescriptor.swift'
97
- - name : Build Swift bindings package without address sanitizer
97
+ - name : Prepare rust binaries
98
98
run : |
99
- cd ci/LDKSwift
100
99
env
101
- # remove target output
102
- # rm -rf ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings/target
100
+ pushd ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings
101
+ cargo clean
102
+ cargo build --release --features std
103
103
104
104
# debug the target
105
- find "${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings/target"
106
-
107
- # build the actual swift binary
105
+ find ./target
106
+ - name : Build Swift bindings package without address sanitizer
107
+ run : |
108
+ env
109
+ cd ci/LDKSwift
108
110
../../swift-5.7.2-RELEASE-ubuntu22.04/usr/bin/swift build
109
111
env :
110
112
LDK_C_BINDINGS_BASE : ${{ github.workspace }}/ci/ldk-c-bindings
111
113
LDK_C_BINDINGS_BINARY_DIRECTORY : ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings/target/release
112
114
RUST_BACKTRACE : 1
113
115
- name : Test Swift bindings package without address sanitizer
114
116
run : |
115
- cd ci/LDKSwift
116
117
env
118
+ cd ci/LDKSwift
117
119
../../swift-5.7.2-RELEASE-ubuntu22.04/usr/bin/swift test -v
118
120
env :
119
121
LDK_C_BINDINGS_BASE : ${{ github.workspace }}/ci/ldk-c-bindings
You can’t perform that action at this time.
0 commit comments