-
Notifications
You must be signed in to change notification settings - Fork 48
85 lines (79 loc) · 2.28 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: "CI"
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
env-details-Xcode-13:
name: Environment details Xcode 15
runs-on: macOS-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
steps:
- name: xcode version
run: xcodebuild -version -sdk
- name: list simulators
run: |
xcrun simctl delete unavailable
xcrun simctl list
env-details-Xcode-14:
name: Environment details Xcode 14
runs-on: macOS-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
steps:
- name: xcode version
run: xcodebuild -version -sdk
- name: list simulators
run: |
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-15:
name: Xcode 15.4
runs-on: macOS-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
strategy:
matrix:
destination: ["test_ios17", "test_tvos17", "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@v2