File tree Expand file tree Collapse file tree 5 files changed +35
-42
lines changed
actions/generate-xcframework Expand file tree Collapse file tree 5 files changed +35
-42
lines changed Original file line number Diff line number Diff line change
1
+ name : Generate XCFramework
2
+ description : Build xcarchives and combine them into an xcframework using Python scripts..
3
+ runs :
4
+ using : composite
5
+ steps :
6
+ - name : Build binaries
7
+ shell : bash
8
+ run :
9
+ python3 ./src/scripts/build_bulk_libldks.py
10
+ - name : Generate xcframework
11
+ shell : bash
12
+ run :
13
+ python3 ./src/scripts/generate_xcframework.py
Original file line number Diff line number Diff line change 1
- name : Build Frameworks
1
+ name : Xcode Builds
2
2
permissions :
3
3
contents : read
4
4
statuses : read
15
15
16
16
jobs :
17
17
build :
18
- name : Build Framework ( ${{ matrix.configuration['platform'] }})
18
+ name : Build XCArchive for ${{ matrix.configuration['platform'] }}
19
19
runs-on : macos-12
20
20
strategy :
21
21
fail-fast : false
57
57
project : ${{ matrix.configuration['project'] }}
58
58
scheme : ${{ matrix.configuration['scheme'] }}
59
59
destination : ${{ matrix.configuration['destination'] }}
60
+ generate :
61
+ name : Generate XCFramework
62
+ runs-on : macos-12
63
+ env :
64
+ DEVELOPER_DIR : /Applications/Xcode_13.2.1.app/Contents/Developer
65
+ LDK_C_BINDINGS_BASE : /Users/runner/work/ldk-swift/ldk-swift/bindings/artifacts/ldk-c-bindings
66
+ steps :
67
+ - name : Configure Xcode
68
+ uses : maxim-lobanov/setup-xcode@v1
69
+ with :
70
+ xcode-version : latest
71
+ - name : Checkout
72
+ uses : actions/checkout@v2
73
+ - name : Install Dependencies
74
+ uses : ./.github/actions/install-dependencies
75
+ - name : Generate XCFramework
76
+ uses : ./.github/actions/generate-xcframework
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Check Bindings
1
+ name : Test Bindings
2
2
3
3
on :
4
4
push :
8
8
9
9
jobs :
10
10
check_bindings :
11
- name : Build Bindings
11
+ name : Swift Package Manager Tests
12
12
runs-on : ubuntu-20.04
13
13
env :
14
14
TOOLCHAIN : stable
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def run(config: ScriptConfig):
81
81
'BUILD_LIBRARY_FOR_DISTRIBUTION=YES' ,
82
82
f'LDK_C_BINDINGS_BASE={ config .LDK_C_BINDINGS_BASE } ' ,
83
83
f'LDK_C_BINDINGS_BINARY_DIRECTORY={ lipo_binary_directory } ' ,
84
- f'LDK_C_BINDINGS_BINARY_FORCED_REBUILD_OUTPUT_DIRECTORY="" ' ,
84
+ f'LDK_C_BINDINGS_BINARY_FORCED_REBUILD_OUTPUT_DIRECTORY=' ,
85
85
], env = child_environment
86
86
)
87
87
You can’t perform that action at this time.
0 commit comments