Skip to content

fixes ios

fixes ios #37

Workflow file for this run

name: Build Crystal for Apple and Web Platforms
on: [push, pull_request]
jobs:
build-apple:
runs-on: macos-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "latest"
- name: Build macOS Project
run: xcodebuild -scheme Crystal -project platforms/apple/Crystal.xcodeproj -sdk macosx -configuration Debug clean build
- name: Build iOS Project
run: xcodebuild -scheme Crystal -project platforms/apple/Crystal.xcodeproj -sdk iphonesimulator -configuration Debug clean build
build-web:
runs-on: ubuntu-latest
defaults:
run:
working-directory: platforms/web
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build Web Project
run: pnpm run build