Merge pull request #132 from lightningdevkit/release-0.0.123 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |