Skip to content

Commit

Permalink
added tvOS
Browse files Browse the repository at this point in the history
  • Loading branch information
alemar11 committed Apr 30, 2024
1 parent 666a565 commit 84cc611
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
strategy:
matrix:
destination: ["OS=16.0,name=iPhone 15 Pro"]
destination: ["OS=17.0,name=iPhone 15 Pro"]
steps:
- uses: actions/checkout@v4
- name: iOS - ${{ matrix.destination }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "AdvancedOperation.xcodeproj" -scheme "AdvancedOperation" -destination "${{ matrix.destination }}" clean test -quiet -resultBundlePath '~/Downloads/Report/report.xcresult'

- name: Upload tests report
if: ${{ always() }} # to run it only if the previous step fails use ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: iOS tests report
path: ~/Downloads/Report
visionOS:
name: Test iOS
name: Test visionOS
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
Expand All @@ -78,41 +78,41 @@ jobs:
with:
name: visionOS tests report
path: ~/Downloads/Report
# tvOS:
# name: Test tvOS
# runs-on: macos-14
# env:
# DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
# strategy:
# matrix:
# destination: ["OS=16.0,name=Apple TV 4K (2nd generation)""]
# steps:
# - uses: actions/checkout@v4
# - name: tvOS - ${{ matrix.destination }}
# run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "AdvancedOperation.xcodeproj" -scheme "AdvancedOperation" -destination "${{ matrix.destination }}" clean test -quiet -resultBundlePath '~/Downloads/Report/report.xcresult'
#
# - name: Upload tests report
# if: ${{ always() }} # to run it only if the previous step fails use ${{ failure() }}
# uses: actions/upload-artifact@v2
# with:
# name: tvOS tests report
# path: ~/Downloads/Report
tvOS:
name: Test tvOS
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
strategy:
matrix:
destination: ["OS=17.0,name=Apple TV"]
steps:
- uses: actions/checkout@v4
- name: tvOS - ${{ matrix.destination }}
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "AdvancedOperation.xcodeproj" -scheme "AdvancedOperation" -destination "${{ matrix.destination }}" clean test -quiet -resultBundlePath '~/Downloads/Report/report.xcresult'

- name: Upload tests report
if: ${{ always() }} # to run it only if the previous step fails use ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: tvOS tests report
path: ~/Downloads/Report
# watchOS:
# name: Build watchOS
# runs-on: macos-14
# env:
# DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
# strategy:
# matrix:
# destination: ["OS=9.0,name=Apple Watch Series 8 (45mm)"]
# destination: ["OS=10.0,name=Apple Watch Series 9 (45mm)"]
# steps:
# - uses: actions/checkout@v4
# - name: watchOS - ${{ matrix.destination }}
# run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "AdvancedOperation.xcodeproj" -scheme "AdvancedOperation" -destination "${{ matrix.destination }}" clean test -quiet -resultBundlePath '~/Downloads/Report/report.xcresult'
#
# - name: Upload tests report
# if: ${{ always() }} # to run it only if the previous step fails use ${{ failure() }}
# uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v4
# with:
# name: watchOS tests report
# path: ~/Downloads/Report
Expand Down

0 comments on commit 84cc611

Please sign in to comment.