diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..dfd83c6 --- /dev/null +++ b/.github/workflows/build.yml @@ -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' \ No newline at end of file