Skip to content

Commit

Permalink
Added tvOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
klaussilveira committed Oct 5, 2023
1 parent eecc665 commit 13f2ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
platform:
- iOS
#- tvOS
- tvOS
lib-type:
- static
- shared
Expand All @@ -29,7 +29,7 @@ jobs:
run: sudo xcode-select --switch /Applications/Xcode_14.0.1.app

- name: CMake
run: cmake -S . -B build -G Xcode -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DURHO3D_LIB_TYPE=${{ matrix.lib-type }} -DTRACY_NO_PARALLEL_ALGORITHMS=ON -DPLATFORM=SIMULATOR64 -DDEPLOYMENT_TARGET=11 -DCMAKE_OSX_DEPLOYMENT_TARGET=11 -DIOS=1
run: cmake -S . -B build -G Xcode -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DURHO3D_LIB_TYPE=${{ matrix.lib-type }} -DTRACY_NO_PARALLEL_ALGORITHMS=ON -DPLATFORM=SIMULATOR64 -DDEPLOYMENT_TARGET=11 -DCMAKE_OSX_DEPLOYMENT_TARGET=11 ${{ matrix.platform == 'iOS' && '-DIOS=1' || '-DIOS=0' }} ${{ matrix.platform == 'tvOS' && '-DTVOS=1' || '-DTVOS=0' }}

- name: Build
run: cmake --build build --config ${{ matrix.build-type }}
Expand Down

0 comments on commit 13f2ff3

Please sign in to comment.