-
Notifications
You must be signed in to change notification settings - Fork 49
85 lines (79 loc) · 2.35 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 13
runs-on: macOS-12
env:
DEVELOPER_DIR: /Applications/Xcode_13.4.1.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-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
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_macos", "build_watchos"]
steps:
- name: git checkout
uses: actions/checkout@v4
- 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 != 'build_watchos'
run: bundle exec fastlane generate_code_coverage
- name: Codecov
uses: codecov/codecov-action@v5
# 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","test_macos", "build_watchos_xcode12"]
# steps:
# - name: git checkout
# uses: actions/checkout@v4
# - 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_watchos_xcode12'
# run: bundle exec fastlane generate_code_coverage
# - name: Codecov
# uses: codecov/codecov-action@v5