Skip to content

Commit

Permalink
Update CI to Xcode 15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
DenTelezhkin committed Jul 16, 2024
1 parent 775cad3 commit fb4fc60
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:

jobs:
env-details-Xcode-13:
name: Environment details Xcode 13
runs-on: macOS-12
name: Environment details Xcode 15
runs-on: macOS-14
env:
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
steps:
- name: xcode version
run: xcodebuild -version -sdk
Expand All @@ -24,9 +24,9 @@ jobs:
xcrun simctl list
env-details-Xcode-14:
name: Environment details Xcode 14
runs-on: macOS-12
runs-on: macOS-14
env:
DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
steps:
- name: xcode version
run: xcodebuild -version -sdk
Expand All @@ -36,38 +36,38 @@ jobs:
xcrun simctl delete unavailable
xcrun simctl list
Xcode-13:
name: Xcode 13
runs-on: macOS-12
env:
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer
strategy:
matrix:
destination: ["test_ios15", "test_tvos15", "test_catalyst"]
steps:
- name: git checkout
uses: actions/checkout@v2
- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
bundler-cache: true
- name: ${{ matrix.destination }}
run: bundle exec fastlane ${{ matrix.destination }}
- name: Generate code coverage
if: matrix.destination != 'test_catalyst'
run: bundle exec fastlane generate_code_coverage
- name: Codecov
uses: codecov/codecov-action@v3
# Xcode-13:
# name: Xcode 13
# runs-on: macOS-12
# env:
# DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer
# strategy:
# matrix:
# destination: ["test_ios15", "test_tvos15", "test_catalyst"]
# steps:
# - name: git checkout
# uses: actions/checkout@v2
# - name: ruby setup
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: 3.1.2
# bundler-cache: true
# - name: ${{ matrix.destination }}
# run: bundle exec fastlane ${{ matrix.destination }}
# - name: Generate code coverage
# if: matrix.destination != 'test_catalyst'
# run: bundle exec fastlane generate_code_coverage
# - name: Codecov
# uses: codecov/codecov-action@v3

Xcode-14:
Xcode-15:
name: Xcode 14
runs-on: macOS-12
env:
DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
strategy:
matrix:
destination: ["test_ios16", "test_tvos16", "test_catalyst"]
destination: ["test_ios17", "test_tvos17", "test_catalyst"]
steps:
- name: git checkout
uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
fastlane_version "1.98.0"

lane :test_ios16 do
scan(devices: ["iPhone 14 Pro (16.0)"], scheme: 'Tests-iOS')
lane :test_ios17 do
scan(devices: ["iPhone 15 Pro (17.5)"], scheme: 'Tests-iOS')
end

lane :test_ios15 do
scan(devices: ["iPhone 13 Pro Max (15.5)"], scheme: 'Tests-iOS')
end

lane :test_tvos16 do
scan(device: "Apple TV (16.0)", scheme: 'Tests-tvOS')
lane :test_tvos17 do
scan(device: "Apple TV (17.5)", scheme: 'Tests-tvOS')
end

lane :test_tvos15 do
Expand Down

0 comments on commit fb4fc60

Please sign in to comment.