mirror of
https://github.com/StikDebug/StikJIT.git
synced 2026-10-15 20:10:31 +00:00
Initial commit
Initial commit
This commit is contained in:
commit
99f2db2161
16 changed files with 8699 additions and 0 deletions
50
.github/workflows/build.yml
vendored
Normal file
50
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue