summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-2.30.2/.github/workflows/ios.yml
blob: 1eb57359fe205e36f2ce3c8a471b0f7821a9341f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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:
      - uses: actions/checkout@v4
      - name: Build
        run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build