Sora/.github/workflows/build.yml
cranci 4a0a0f5144
Some checks are pending
Build and Release / Build IPA (push) Waiting to run
Build and Release / Build Mac Catalyst (push) Waiting to run
Update build.yml
2025-08-14 20:00:16 +02:00

61 lines
1.3 KiB
YAML

name: Build and Release
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
build-ios:
name: Build IPA
runs-on: macOS-15
steps:
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Checkout code
uses: actions/checkout@v4
- name: Run ipabuild.sh
run: |
chmod +x ipabuild.sh
./ipabuild.sh
- name: Upload IPA artifact
uses: actions/upload-artifact@v4
with:
name: Sulfur-IPA
path: build/Sulfur.ipa
compression-level: 0
build-mac:
name: Build Mac Catalyst
runs-on: macOS-15
steps:
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Checkout code
uses: actions/checkout@v4
- name: Run macbuild.sh
run: |
chmod +x macbuild.sh
./macbuild.sh
- name: Create DMG
run: |
hdiutil create -volname "Sulfur" -srcfolder build/Sulfur.app -ov -format UDZO build/Sulfur.dmg
- name: Upload Mac artifact
uses: actions/upload-artifact@v4
with:
name: Sulfur-Mac
path: build/Sulfur.dmg
compression-level: 0