File tree 4 files changed +4
-38
lines changed
4 files changed +4
-38
lines changed Original file line number Diff line number Diff line change 34
34
with :
35
35
name : Test Results (${{ matrix.platform }})
36
36
path : .build/derivedData/**/Logs/Test/*.xcresult
37
- xcode-build-legacy :
38
- name : Xcode Build
39
- runs-on : macOS-12
40
- strategy :
41
- matrix :
42
- platform : ['iOS_15']
43
- fail-fast : false
44
- steps :
45
- - name : Checkout Repo
46
- uses : actions/checkout@v4
47
- - uses : ruby/setup-ruby@v1
48
- with :
49
- ruby-version : ' 3.2.2'
50
- - name : Bundle Install
51
- run : bundle install --gemfile=Example/Gemfile
52
- - name : Prepare Simulator Runtimes
53
- run : Scripts/github/prepare-simulators.sh ${{ matrix.platform }}
54
- - name : Pod Install
55
- run : bundle exec --gemfile=Example/Gemfile pod install --project-directory=Example
56
- - name : Build and Test
57
- run : Scripts/build.swift xcode ${{ matrix.platform }} `which xcpretty`
58
- - name : Upload Results
59
- uses : actions/upload-artifact@v4
60
- if : failure()
61
- with :
62
- name : Test Results (${{ matrix.platform }})
63
- path : .build/derivedData/**/Logs/Test/*.xcresult
64
37
pod-lint :
65
38
name : Pod Lint
66
- runs-on : macOS-12
39
+ runs-on : macOS-13
67
40
steps :
68
41
- name : Checkout Repo
69
42
uses : actions/checkout@v4
@@ -78,10 +51,10 @@ jobs:
78
51
run : bundle exec --gemfile=Example/Gemfile pod lib lint --verbose --fail-fast
79
52
spm :
80
53
name : SPM Build
81
- runs-on : macOS-12
54
+ runs-on : macOS-13
82
55
strategy :
83
56
matrix :
84
- platform : ['iOS_15 ']
57
+ platform : ['iOS_16 ']
85
58
fail-fast : false
86
59
steps :
87
60
- name : Checkout Repo
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'AccessibilitySnapshot'
3
- s . version = '0.7 .0'
3
+ s . version = '0.8 .0'
4
4
s . summary = 'Easy regression testing for iOS accessibility'
5
5
6
6
s . homepage = 'https://github.com/CashApp/AccessibilitySnapshot'
Original file line number Diff line number Diff line change @@ -48,16 +48,13 @@ enum TaskError: Error {
48
48
enum Platform : String , CustomStringConvertible {
49
49
case iOS_17
50
50
case iOS_16
51
- case iOS_15
52
51
53
52
var destination : String {
54
53
switch self {
55
54
case . iOS_17:
56
55
return " platform=iOS Simulator,OS=17.2,name=iPhone 14 Pro "
57
56
case . iOS_16:
58
57
return " platform=iOS Simulator,OS=16.4,name=iPhone 14 Pro "
59
- case . iOS_15:
60
- return " platform=iOS Simulator,OS=15.5,name=iPhone 12 Pro "
61
58
}
62
59
}
63
60
Original file line number Diff line number Diff line change @@ -9,8 +9,4 @@ if [[ ${PLATFORMS[*]} =~ 'iOS_16' ]]; then
9
9
sudo ln -s /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 16.4.simruntime
10
10
fi
11
11
12
- if [[ ${PLATFORMS[*]} =~ ' iOS_15' ]]; then
13
- sudo ln -s /Applications/Xcode_13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 15.5.simruntime
14
- fi
15
-
16
12
xcrun simctl list runtimes
You can’t perform that action at this time.
0 commit comments