2021-11-24 12:21:48 -07:00
|
|
|
name: Build (iOS/tvOS)
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
2022-12-04 10:06:06 -07:00
|
|
|
concurrency:
|
2022-12-28 14:06:46 -07:00
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
|
2022-12-04 10:06:06 -07:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-11-24 12:21:48 -07:00
|
|
|
jobs:
|
|
|
|
Build:
|
|
|
|
name: ${{ matrix.platform.name }}
|
|
|
|
runs-on: macos-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
platform:
|
2023-07-31 23:51:02 -06:00
|
|
|
- { name: iOS, target: SDL3, sdk: iphoneos }
|
|
|
|
- { name: tvOS, target: SDL3, sdk: appletvos }
|
2021-11-24 12:21:48 -07:00
|
|
|
|
|
|
|
steps:
|
2024-01-25 18:33:20 -07:00
|
|
|
- uses: actions/checkout@v4
|
2021-11-24 12:21:48 -07:00
|
|
|
- name: Build
|
2022-12-04 10:06:06 -07:00
|
|
|
run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build
|