diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7c8cfa7..f117ed45 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ 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 }} @@ -55,12 +55,12 @@ jobs: - 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 @@ -78,25 +78,25 @@ 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 @@ -104,7 +104,7 @@ jobs: # 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 }} @@ -112,7 +112,7 @@ jobs: # # - 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