File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 61
61
LDK_C_BINDINGS_BASE : ${{ github.workspace }}/ci/ldk-c-bindings
62
62
H_FILE_OUTPUT_DIRECTORY : ${{ github.workspace }}/ci/LDKSwift/Sources/LDKHeaders/include
63
63
C_FILE_OUTPUT_DIRECTORY : ${{ github.workspace }}/ci/LDKSwift/Sources/LDKHeaders
64
+ - name : Prepare rust binaries
65
+ run : |
66
+ env
67
+ pushd ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings
68
+ cargo clean
69
+ cargo build --release --features std
70
+
71
+ # debug the target
72
+ find ./target
73
+ env :
74
+ RUST_BACKTRACE : 1
75
+ RUSTFLAGS : --cfg=c_bindings -C embed-bitcode=yes -C lto
76
+ CARGO_PROFILE_RELEASE_LTO : true
64
77
- name : Install Swift Toolchain
65
78
run : |
66
79
curl --verbose -L -o swift-5.7.2-RELEASE-ubuntu22.04.tar.gz https://download.swift.org/swift-5.7.2-release/ubuntu2204/swift-5.7.2-RELEASE/swift-5.7.2-RELEASE-ubuntu22.04.tar.gz
@@ -94,15 +107,6 @@ jobs:
94
107
- name : Verify generated output recency
95
108
run : |
96
109
git diff --exit-code out/ ':(exclude)out/VersionDescriptor.swift'
97
- - name : Prepare rust binaries
98
- run : |
99
- env
100
- pushd ${{ github.workspace }}/ci/ldk-c-bindings/lightning-c-bindings
101
- cargo clean
102
- cargo build --release --features std
103
-
104
- # debug the target
105
- find ./target
106
110
- name : Build Swift bindings package without address sanitizer
107
111
run : |
108
112
env
You can’t perform that action at this time.
0 commit comments