Skip to content

Commit 2ad8010

Browse files
committed
Build LDKFramework directory project.
1 parent c9dfb1c commit 2ad8010

File tree

3 files changed

+34
-29
lines changed

3 files changed

+34
-29
lines changed
Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
11
name: Build For Testing
22
inputs:
3-
scheme:
4-
description: Scheme
5-
required: true
6-
destination:
7-
description: Destination
8-
required: true
9-
project:
10-
description: Project directory, relative to the xcode folder
11-
required: true
3+
scheme:
4+
description: Scheme
5+
required: true
6+
destination:
7+
description: Destination
8+
required: true
9+
project:
10+
description: Project directory, relative to the xcode folder
11+
required: true
1212
description: Build for testing.
1313
runs:
14-
using: composite
15-
steps:
16-
- shell: bash
17-
working-directory: .
18-
run: |
19-
cd xcode
14+
using: composite
15+
steps:
16+
- shell: bash
17+
working-directory: .
18+
run: |
19+
cd xcode
2020
21-
xcodebuild clean build-for-testing \
22-
-allowProvisioningUpdates \
23-
-allowProvisioningDeviceRegistration \
24-
-project '${{ inputs.project }}' \
25-
-scheme '${{ inputs.scheme }}' \
26-
-destination '${{ inputs.destination }}' \
27-
-resultBundlePath BuildResults.xcresult \
28-
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
21+
xcodebuild clean build-for-testing \
22+
-allowProvisioningUpdates \
23+
-allowProvisioningDeviceRegistration \
24+
-project '${{ inputs.project }}' \
25+
-scheme '${{ inputs.scheme }}' \
26+
-destination '${{ inputs.destination }}' \
27+
-resultBundlePath BuildResults.xcresult \
28+
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO \
29+
LDK_C_BINDINGS_BASE="${LDK_C_BINDINGS_BASE}" \
30+
LDK_C_BINDINGS_BINARY_DIRECTORY="" \
31+
LDK_C_BINDINGS_BINARY_DIRECTORY_OVERRIDE="${LDK_C_BINDINGS_BINARY_DIRECTORY_OVERRIDE}"

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ runs:
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
2325
- name: Load Cache
2426
uses: actions/cache@v3
2527
with:

.github/workflows/build-frameworks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@ jobs:
2424
- scheme: LDKFramework
2525
destination: generic/platform=iOS
2626
platform: iOS
27-
project: LDK/LDKFramework.xcodeproj
27+
project: LDKFramework/LDKFramework.xcodeproj
2828
- scheme: LDKFramework
2929
destination: platform=iOS Simulator,OS=15.2,name=iPhone 13 Pro
3030
platform: iOS Simulator
31-
project: LDK/LDKFramework.xcodeproj
32-
- scheme: LDKFramework_Mac
31+
project: LDKFramework/LDKFramework.xcodeproj
32+
- scheme: LDKFramework
3333
destination: generic/platform=OS X
3434
platform: OS X
35-
project: LDK/LDKFramework.xcodeproj
35+
project: LDKFramework/LDKFramework.xcodeproj
3636
- scheme: LDKFramework
3737
destination: platform=macOS,variant=Mac Catalyst,arch=x86_64
3838
platform: Mac Catalyst
39-
project: LDK/LDKFramework.xcodeproj
39+
project: LDKFramework/LDKFramework.xcodeproj
4040
env:
4141
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
4242
LDK_C_BINDINGS_BASE: /Users/runner/work/ldk-swift/ldk-swift/bindings/artifacts/ldk-c-bindings
43-
LDK_C_BINDINGS_BINARY_DIRECTORY: /Users/runner/work/ldk-swift/ldk-swift/bindings/artifacts/bin
43+
LDK_C_BINDINGS_BINARY_DIRECTORY_OVERRIDE: /Users/runner/work/ldk-swift/ldk-swift/bindings/artifacts/bin
4444
steps:
4545
- name: Configure Xcode
4646
uses: maxim-lobanov/setup-xcode@v1

0 commit comments

Comments
 (0)