File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
actions/install-dependencies Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 20
20
rustup toolchain install nightly
21
21
rustup target add aarch64-apple-darwin aarch64-apple-ios x86_64-apple-ios
22
22
rustup component add rust-src --toolchain nightly-x86_64-apple-darwin
23
- - name : Set up Python
24
- uses : actions/setup-python@v2
25
23
- name : Load Cache
26
24
uses : actions/cache@v3
27
25
with :
Original file line number Diff line number Diff line change @@ -54,12 +54,10 @@ jobs:
54
54
cp ldk-c-bindings/lightning-c-bindings/include/*.h ./LDKSwift/Sources/LDKHeaders/include/
55
55
cp ldk-c-bindings/ldk-net/ldk_net.h ./LDKSwift/Sources/LDKHeaders/include/
56
56
cp ldk-c-bindings/ldk-net/ldk_net.c ./LDKSwift/Sources/LDKHeaders/
57
- - name : Set up Python
58
- uses : actions/setup-python@v2
59
57
- name : Generate (copy for debugging) Swift bindings and copy batteries
60
58
run : |
61
59
pwd
62
- python ./ # Generate bindings into ci subdirectory
60
+ python3 ./ # Generate bindings into ci subdirectory
63
61
64
62
# TODO: switch back to generation method after debugging
65
63
# mkdir -p ci/LDKSwift/Sources/LDKSwift
69
67
LDK_SWIFT_GENERATOR_OUTPUT_DIRECTORY_PATH : ci/LDKSwift/Sources/LDKSwift/bindings
70
68
- name : Check that the latest auto-generated Swift files are in the repo
71
69
run : |
72
- python ./ # Generate bindings into local directory
70
+ python3 ./ # Generate bindings into local directory
73
71
git diff --exit-code ci/LDKSwift/Sources/LDKSwift ':(exclude)ci/LDKSwift/Sources/LDKSwift/bindings/Bindings.swift'
74
72
env :
75
73
LDK_SWIFT_GENERATOR_INPUT_HEADER_PATH : ci/ldk-c-bindings/lightning-c-bindings/include/lightning.h
You can’t perform that action at this time.
0 commit comments