Skip to content

Commit 4803d8e

Browse files
committed
copy bindings from bindings folder instead of regenerating them (temporarily)
1 parent 1e7036e commit 4803d8e

File tree

6 files changed

+510
-357
lines changed

6 files changed

+510
-357
lines changed

.github/workflows/swift.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,14 @@ jobs:
5454
- name: Fix header files
5555
run: |
5656
python ci/fix_header_includes.py
57-
- name: Generate Swift bindings and copy batteries
57+
- name: Generate (copy for debugging) Swift bindings and copy batteries
5858
run: |
59-
python ./
59+
# python ./ # Generate bindings
60+
61+
# TODO: switch back to generation method after debugging
62+
mkdir -p ci/LDKSwift/Sources/LDKSwift
63+
cp -a bindings/LDK/. ci/LDKSwift/Sources/LDKSwift
64+
6065
cp -R bindings/batteries ci/LDKSwift/Sources/LDKSwift
6166
env:
6267
LDK_SWIFT_GENERATOR_INPUT_HEADER_PATH: ldk-c-bindings/lightning-c-bindings/include/lightning.h

0 commit comments

Comments
 (0)