Skip to content

Commit 3978963

Browse files
authored
Merge pull request #61 from lightningdevkit/2022-07-release-109
Prepare 0.0.109 release.
2 parents aee5cc7 + ca620b4 commit 3978963

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+5678
-2153
lines changed

.github/actions/archive-framework/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ runs:
1717
1818
LDK_C_BINDINGS_BINARY_DIRECTORY="" \
1919
xcodebuild archive \
20-
-project 'LDKFramework/LDKFramework.xcodeproj' \
21-
-scheme 'LDKFramework' \
20+
-project 'LDKFramework/LDK.xcodeproj' \
21+
-scheme 'LightningDevKit' \
2222
-destination 'generic/platform=${{ inputs.destination }}' \
2323
-archivePath "/Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/${{ inputs.human_readable_platform }}/${{ inputs.human_readable_platform }}" \
2424
ENABLE_BITCODE=NO \

.github/actions/install-dependencies/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ runs:
1212
run: |
1313
echo `pwd`
1414
mkdir -p ./bindings/artifacts/bin
15-
git clone --branch 2022-06-108-java-bindings https://github.com/TheBlueMatt/rust-lightning ./bindings/artifacts/rust-lightning
16-
git clone --branch v0.0.108.2 https://github.com/lightningdevkit/ldk-c-bindings ./bindings/artifacts/ldk-c-bindings
15+
git clone --branch 2022-07-109-java-bindings https://github.com/TheBlueMatt/rust-lightning ./bindings/artifacts/rust-lightning
16+
git clone --branch v0.0.109.0 https://github.com/lightningdevkit/ldk-c-bindings ./bindings/artifacts/ldk-c-bindings
1717
- name: Install Rust, required targets
1818
shell: bash
1919
run: |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Upload XCFramework
2+
description: Create artifact containing a zipped xcframework.
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Zip Xcframework
7+
shell: bash
8+
run: |
9+
ditto -c -k --sequesterRsrc /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LightningDevKit.xcframework LightningDevKit.xcframework.zip
10+
- name: Upload Framework Artifact
11+
uses: actions/upload-artifact@v3
12+
with:
13+
name: LightningDevKit
14+
path: LightningDevKit.xcframework.zip

.github/workflows/build-xcframework-parallel-archives.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,5 @@ jobs:
7878
python3 ./src/scripts/generate_xcframework.py
7979
env:
8080
PRESERVE_XCARCHIVES: true
81-
- name: Zip Xcframework
82-
run: |
83-
ditto -c -k --sequesterRsrc /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LDKFramework.xcframework LDKFramework.xcframework.zip
84-
- name: Upload Framework Artifact
85-
uses: actions/upload-artifact@v3
86-
with:
87-
name: LDKFramework
88-
path: LDKFramework.xcframework.zip
81+
- name: Create XCFramework artifact
82+
uses: ./.github/actions/upload-xcframework-artifact

.github/workflows/build-xcframework-parallel-libldk.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,5 @@ jobs:
9292
shell: bash
9393
run:
9494
python3 ./src/scripts/generate_xcframework.py
95-
- name: Zip Xcframework
96-
run: |
97-
ditto -c -k --sequesterRsrc /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LDKFramework.xcframework LDKFramework.xcframework.zip
98-
- name: Upload Framework Artifact
99-
uses: actions/upload-artifact@v3
100-
with:
101-
name: LDKFramework
102-
path: LDKFramework.xcframework.zip
95+
- name: Create XCFramework artifact
96+
uses: ./.github/actions/upload-xcframework-artifact

.github/workflows/build-xcframework-sequential.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,5 @@ jobs:
3131
uses: ./.github/actions/install-dependencies
3232
- name: Generate XCFramework
3333
uses: ./.github/actions/generate-xcframework
34-
- name: Zip Xcframework
35-
run: |
36-
ditto -c -k --sequesterRsrc /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LDKFramework.xcframework LDKFramework.xcframework.zip
37-
- name: Upload Framework Artifact
38-
uses: actions/upload-artifact@v3
39-
with:
40-
name: LDKFramework
41-
path: LDKFramework.xcframework.zip
34+
- name: Create XCFramework artifact
35+
uses: ./.github/actions/upload-xcframework-artifact

.github/workflows/release-framework.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,8 @@ jobs:
3434
uses: ./.github/actions/install-dependencies
3535
- name: Generate XCFramework
3636
uses: ./.github/actions/generate-xcframework
37-
- name: Zip Xcframework
38-
run: |
39-
ditto -c -k --sequesterRsrc /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LDKFramework.xcframework LDKFramework.xcframework.zip
40-
- name: Upload Framework Artifact
41-
uses: actions/upload-artifact@v3
42-
with:
43-
name: LDKFramework.xcframework.zip
44-
path: LDKFramework.xcframework.zip
37+
- name: Create XCFramework artifact
38+
uses: ./.github/actions/upload-xcframework-artifact
4539
release:
4640
name: Publish Release
4741
runs-on: ubuntu-latest
@@ -50,8 +44,8 @@ jobs:
5044
- name: Download Framework Artifact
5145
uses: actions/download-artifact@v3
5246
with:
53-
name: LDKFramework.xcframework.zip
47+
name: LightningDevKit
5448
- name: Create Release
5549
uses: softprops/action-gh-release@v1
5650
with:
57-
files: LDKFramework.xcframework.zip
51+
files: LightningDevKit.xcframework.zip

.github/workflows/swift.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
# Note this is a different endpoint, as we need one non-upstream commit!
2424
# git clone https://git.bitcoin.ninja/rust-lightning
2525
# git clone https://github.com/TheBlueMatt/rust-lightning
26-
git clone --branch 2022-06-108-java-bindings https://github.com/TheBlueMatt/rust-lightning
26+
git clone --branch 2022-07-109-java-bindings https://github.com/TheBlueMatt/rust-lightning
2727
cd rust-lightning
2828
echo "rust-lightning commit hash:"
2929
git rev-parse HEAD
3030
cd ..
31-
git clone --branch v0.0.108.2 https://github.com/lightningdevkit/ldk-c-bindings
31+
git clone --branch v0.0.109.0 https://github.com/lightningdevkit/ldk-c-bindings
3232
# git clone https://github.com/TheBlueMatt/ldk-c-bindings
3333
cd ldk-c-bindings
3434
echo "ldk-c-bindings commit hash:"

0 commit comments

Comments
 (0)