Edit

kc3-lang/SDL/.github/workflows/ios.yml

Branch :

  • Show log

    Commit

  • Author : Cameron Gutman
    Date : 2021-11-24 22:21:48
    Hash : 5cb85d61
    Message : CI: Add iOS and tvOS builds

  • .github/workflows/ios.yml
  • 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@v2
          - name: Build
            run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build