# Disabled because of issue: https://github.com/libsdl-org/setup-sdl/issues/23
name: Build Simulator
on:
  push:
    branches:
      - main
  pull_request:
    types: [opened, synchronize, reopened]
jobs:
  Build-Simulator-Linux:
    runs-on: ubuntu-24.04
    steps:
      - uses: actions/checkout@v4
      - name: "Build"
        uses: ./.github/actions/build-simulator
        with:
          os_name: linux
          platform_name: amd64
          publish: true
  Build-Simulator-macOS:
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v4
      - name: "Build"
        uses: ./.github/actions/build-simulator
        with:
          os_name: macos
          platform_name: aarch64
          # macOS simulator currently fails due to main thread requirement for rendering
          publish: false
