Skip to content

Initial commit

Initial commit #3

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
name: Build XCFramework
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Show toolchain
run: xcodebuild -version
- name: Install XcodeGen
run: brew install xcodegen
- name: Generate Xcode project
run: xcodegen generate
- name: Build framework
run: |
xcodebuild archive \
-project StikJIT.xcodeproj \
-scheme StikJIT \
-destination 'generic/platform=iOS' \
-archivePath build/StikJIT-iOS \
SKIP_INSTALL=NO \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
CODE_SIGNING_ALLOWED=NO
- name: Assemble XCFramework
run: |
xcodebuild -create-xcframework \
-framework build/StikJIT-iOS.xcarchive/Products/Library/Frameworks/StikJIT.framework \
-output StikJIT.xcframework
- name: Upload XCFramework
uses: actions/upload-artifact@v4
with:
name: StikJIT.xcframework
path: StikJIT.xcframework
if-no-files-found: error