2021-11-24 19:21:48 +00:00
|
|
|
name: Build (iOS/tvOS)
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
Build:
|
|
|
|
name: ${{ matrix.platform.name }}
|
|
|
|
runs-on: macos-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
platform:
|
|
|
|
- { name: iOS, target: Static Library-iOS, sdk: iphoneos }
|
|
|
|
- { name: tvOS, target: Static Library-tvOS, sdk: appletvos }
|
|
|
|
|
|
|
|
steps:
|
2022-10-12 22:51:59 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-11-24 19:21:48 +00:00
|
|
|
- name: Build
|
|
|
|
run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build
|