-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from vmanot/build-workflow
Add Github Workflow and Readme
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Build Package For All Platforms (Xcode 16 & Xcode 15.4) | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Cache derived data | ||
if: ${{ !env.ACT }} # Skipping when run locally. | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/Library/Developer/Xcode/DerivedData | ||
key: ${{ runner.os }}-derived-data | ||
restore-keys: | | ||
${{ runner.os }}-derived-data | ||
- name: Run Preternatural Build (Xcode 16) | ||
uses: PreternaturalAI/github-action@main | ||
with: | ||
command: build | ||
derived_data_path: ~/Library/Developer/Xcode/DerivedData | ||
xcode-version: '16' | ||
build_all_platforms: 'true' | ||
|
||
- name: Run Preternatural Build (Xcode 15.4) | ||
uses: PreternaturalAI/github-action@main | ||
with: | ||
command: build | ||
derived_data_path: ~/Library/Developer/Xcode/DerivedData | ||
xcode-version: '15.4' | ||
build_all_platforms: 'true' |