Skip to content

Updated NFD lib and ported SDL2 to SDL3 in the editor (#39) #505

Updated NFD lib and ported SDL2 to SDL3 in the editor (#39)

Updated NFD lib and ported SDL2 to SDL3 in the editor (#39) #505

Workflow file for this run

name: Engine iOS/macOS
on: [push, pull_request]
jobs:
build:
name: Build for ${{ matrix.config.name }}
runs-on: macOS-latest
strategy:
fail-fast: false
matrix:
config:
- {
name: "iOS",
scheme: "Doriax iOS",
sdk: iphonesimulator
}
- {
name: "MacOS",
scheme: "Doriax macOS",
sdk: macosx
}
steps:
- uses: actions/checkout@v6
- name: Xcode version
run: /usr/bin/xcodebuild -version
- name: Create assets dir if not exist
run: mkdir -p project/assets
- name: Build with Xcode
run: |
cd engine/workspaces/xcode/
# TODO: remove -jobs 1 once macos-latest / Xcode 26.x stops flaking
# with "CFLocale.h: Invalid argument" under parallel compiles.
xcodebuild build \
-sdk ${{ matrix.config.sdk }} \
-project Doriax.xcodeproj \
-configuration Debug \
-scheme "${{ matrix.config.scheme }}" \
-jobs 1