-
Notifications
You must be signed in to change notification settings - Fork 12
41 lines (39 loc) · 1.28 KB
/
build-xcframework-sequential.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: XCFramework from sequential Python script
permissions:
contents: read
statuses: read
pull-requests: read
actions: read
checks: write
on:
push:
branches:
- main
pull_request:
branches:
- "*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
generate-sequential:
name: Build libldks, build xcarchives, and combine into xcframework
runs-on: macos-12
env:
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
LDK_C_BINDINGS_BASE: ${{ github.workspace }}/bindings/artifacts/ldk-c-bindings
steps:
- name: Configure Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
with:
destination: ./bindings/artifacts
- name: Generate XCFramework
uses: ./.github/actions/generate-xcframework
- name: Create XCFramework artifact
uses: ./.github/actions/upload-xcframework-artifact