diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7890f390..6aececf1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,8 +23,11 @@ jobs: fail-fast: false matrix: precision: [double] - platform: [macos] + platform: [macos, ios] target: [editor, template_release, template_debug] + exclude: + - platform: ios + target: editor concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }}-${{ matrix.target }}-${{ matrix.precision }} diff --git a/Justfile b/Justfile index 9720aa43..af08450c 100644 --- a/Justfile +++ b/Justfile @@ -215,6 +215,26 @@ build-platform-target platform target precision="double": dlink_enabled=yes \ debug_symbols=yes ;; + ios) + if [ "$(uname)" = "Darwin" ]; then + unset OSXCROSS_ROOT + else + export PATH=${OSXCROSS_ROOT}/target/bin/:$PATH + fi + scons platform=ios \ + werror=no \ + compiledb=yes \ + precision={{precision}} \ + target={{target}} \ + test=yes \ + vulkan=no \ + arch=arm64 \ + vulkan_sdk_path=$VULKAN_SDK_ROOT/MoltenVK/MoltenVK/static/MoltenVK.xcframework \ + osxcross_sdk=darwin24 \ + generate_bundle=yes \ + debug_symbols=yes \ + separate_debug_symbols=yes + ;; *) echo "Unsupported platform: {{platform}}" exit 1