Skip to content

Commit

Permalink
Merge pull request #8 from vmanot/build-workflow
Browse files Browse the repository at this point in the history
Add Github Workflow and Readme
  • Loading branch information
aksh1t committed Sep 25, 2024
2 parents 70493dd + 742f67a commit 05704dd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
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'

0 comments on commit 05704dd

Please sign in to comment.