Skip to content

Commit

Permalink
CI update macOS 12, Xcode 13.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DenTelezhkin committed Jun 22, 2022
1 parent 4443040 commit a4aee9a
Show file tree
Hide file tree
Showing 7 changed files with 123 additions and 119 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:
jobs:
env-details-Xcode-13:
name: Environment details Xcode 13
runs-on: macOS-11
runs-on: macOS-12
env:
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer
steps:
- name: xcode version
run: xcodebuild -version -sdk
Expand All @@ -22,25 +22,25 @@ jobs:
run: |
xcrun simctl delete unavailable
xcrun simctl list
env-details-Xcode-12:
name: Environment details Xcode 12
runs-on: macOS-11
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
steps:
- name: xcode version
run: xcodebuild -version -sdk
# env-details-Xcode-12:
# name: Environment details Xcode 12
# runs-on: macOS-11
# env:
# DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
# steps:
# - name: xcode version
# run: xcodebuild -version -sdk

- name: list simulators
run: |
xcrun simctl delete unavailable
xcrun simctl list
# - name: list simulators
# run: |
# xcrun simctl delete unavailable
# xcrun simctl list

Xcode-13:
name: Xcode 13
runs-on: macOS-11
runs-on: macOS-12
env:
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer
strategy:
matrix:
destination: ["test_ios15", "test_tvos15", "build_macos_catalyst"]
Expand All @@ -50,36 +50,36 @@ jobs:
- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.1.2
bundler-cache: true
- name: ${{ matrix.destination }}
run: bundle exec fastlane ${{ matrix.destination }}
- name: Generate code coverage
if: matrix.destination != 'build_macos_catalyst'
run: bundle exec fastlane generate_code_coverage
- name: Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3

Xcode-12:
name: Xcode 12
runs-on: macOS-11
env:
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
strategy:
matrix:
destination: ["test_ios14", "test_tvos14", "build_macos_catalyst"]
steps:
- name: git checkout
uses: actions/checkout@v2
- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: ${{ matrix.destination }}
run: bundle exec fastlane ${{ matrix.destination }}
- name: Generate code coverage
if: matrix.destination != 'build_macos_catalyst'
run: bundle exec fastlane generate_code_coverage
- name: Codecov
uses: codecov/codecov-action@v2
# Xcode-12:
# name: Xcode 12
# runs-on: macOS-11
# env:
# DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
# strategy:
# matrix:
# destination: ["test_ios14", "test_tvos14", "build_macos_catalyst"]
# steps:
# - name: git checkout
# uses: actions/checkout@v2
# - name: ruby setup
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: 2.7
# bundler-cache: true
# - name: ${{ matrix.destination }}
# run: bundle exec fastlane ${{ matrix.destination }}
# - name: Generate code coverage
# if: matrix.destination != 'build_macos_catalyst'
# run: bundle exec fastlane generate_code_coverage
# - name: Codecov
# uses: codecov/codecov-action@v2
6 changes: 3 additions & 3 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ on:
- workflow_dispatch

env:
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer

jobs:
main:
name: Create docs PR
runs-on: macOS-11
runs-on: macOS-12
steps:
- name: git checkout
uses: actions/checkout@v2

- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.1.2
bundler-cache: true

- name: generate docs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pod-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ on:
- 'Source/**/*.*'

env:
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer

jobs:
main:
name: Pod Lint
runs-on: macOS-11
runs-on: macOS-12
steps:
- name: git checkout
uses: actions/checkout@v2
Expand All @@ -32,7 +32,7 @@ jobs:
- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.1.2
bundler-cache: true

- name: pod lint
Expand Down
Loading

0 comments on commit a4aee9a

Please sign in to comment.