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 2020 rustup toolchain install nightly
2121 rustup target add aarch64-apple-darwin aarch64-apple-ios x86_64-apple-ios
2222 rustup component add rust-src --toolchain nightly-x86_64-apple-darwin
23- - name : Set up Python
24- uses : actions/setup-python@v2
2523 - name : Load Cache
2624 uses : actions/cache@v3
2725 with :
Original file line number Diff line number Diff line change @@ -54,12 +54,10 @@ jobs:
5454 cp ldk-c-bindings/lightning-c-bindings/include/*.h ./LDKSwift/Sources/LDKHeaders/include/
5555 cp ldk-c-bindings/ldk-net/ldk_net.h ./LDKSwift/Sources/LDKHeaders/include/
5656 cp ldk-c-bindings/ldk-net/ldk_net.c ./LDKSwift/Sources/LDKHeaders/
57- - name : Set up Python
58- uses : actions/setup-python@v2
5957 - name : Generate (copy for debugging) Swift bindings and copy batteries
6058 run : |
6159 pwd
62- python ./ # Generate bindings into ci subdirectory
60+ python3 ./ # Generate bindings into ci subdirectory
6361
6462 # TODO: switch back to generation method after debugging
6563 # mkdir -p ci/LDKSwift/Sources/LDKSwift
6967 LDK_SWIFT_GENERATOR_OUTPUT_DIRECTORY_PATH : ci/LDKSwift/Sources/LDKSwift/bindings
7068 - name : Check that the latest auto-generated Swift files are in the repo
7169 run : |
72- python ./ # Generate bindings into local directory
70+ python3 ./ # Generate bindings into local directory
7371 git diff --exit-code ci/LDKSwift/Sources/LDKSwift ':(exclude)ci/LDKSwift/Sources/LDKSwift/bindings/Bindings.swift'
7472 env :
7573 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