Skip to content

Commit

Permalink
removing macos-11 as it is no longer supported by github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalPineapple committed Aug 1, 2024
1 parent 24c09f3 commit 524bbf5
Show file tree
Hide file tree
Showing 229 changed files with 12 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
path: .build/derivedData/**/Logs/Test/*.xcresult
xcode-build-legacy:
name: Xcode Build
runs-on: macOS-11
runs-on: macOS-12
strategy:
matrix:
platform: ['iOS_14', 'iOS_13']
platform: ['iOS_15']
fail-fast: false
steps:
- name: Checkout Repo
Expand All @@ -63,7 +63,7 @@ jobs:
path: .build/derivedData/**/Logs/Test/*.xcresult
pod-lint:
name: Pod Lint
runs-on: macOS-11
runs-on: macOS-12
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand All @@ -78,10 +78,10 @@ jobs:
run: bundle exec --gemfile=Example/Gemfile pod lib lint --verbose --fail-fast
spm:
name: SPM Build
runs-on: macOS-11
runs-on: macOS-12
strategy:
matrix:
platform: ['iOS_14']
platform: ['iOS_15']
fail-fast: false
steps:
- name: Checkout Repo
Expand Down
2 changes: 1 addition & 1 deletion Example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Your local environment should match one these supported versions.
| Xcode | 12.5.1 (iOS 13 and 14), 14.3.1 (iOS 16) [.github/workflows/ci.yml](https://github.com/cashapp/AccessibilitySnapshot/blob/master/.github/workflows/ci.yml) |
| Ruby | 3.2.2 [Example/Gemfile](https://github.com/cashapp/AccessibilitySnapshot/blob/master/Example/Gemfile) |
| Bundler | 2.4.22 [Gemfile.lock](https://github.com/cashapp/AccessibilitySnapshot/blob/master/Gemfile.lock) |
| Simulators | iOS 13.7 - iPhone 12 Pro, iOS 14.5 - iPhone 12 Pro, iOS 16.4 - iPhone 14 Pro [Scripts/build.swift](https://github.com/cashapp/AccessibilitySnapshot/blob/master/Scripts/build.swift) |
| Simulators | iOS 15.5 - iPhone 12 Pro, iOS 16.4 - iPhone 14 Pro [Scripts/build.swift](https://github.com/cashapp/AccessibilitySnapshot/blob/master/Scripts/build.swift) |

### Setting up environment

Expand Down
Binary file removed ...ciseObjectiveCTests/[email protected]
Binary file not shown.
File renamed without changes
Binary file removed ...ciseObjectiveCTests/[email protected]
Binary file not shown.
File renamed without changes
Binary file not shown.
File renamed without changes
File renamed without changes
Binary file not shown.
File renamed without changes
Binary file removed ..._64/ObjectiveCTests/[email protected]
Binary file not shown.
File renamed without changes
Binary file removed ...64/ObjectiveCTests/[email protected]
Binary file not shown.
File renamed without changes
Binary file removed .../_64/ObjectiveCTests/[email protected]
Binary file not shown.
File renamed without changes
Binary file removed ...Images/_64/ObjectiveCTests/[email protected]
Binary file not shown.
File renamed without changes
Binary file removed ..._64/ObjectiveCTests/[email protected]
Binary file not shown.
File renamed without changes
Binary file not shown.
File renamed without changes
Binary file not shown.
Binary file not shown.
File renamed without changes
Binary file not shown.
File renamed without changes
Binary file removed ...AccessibilityContainersTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Binary file removed ...AccessibilitySnapshotTests/[email protected]
Diff not rendered.
Binary file added ...AccessibilitySnapshotTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file renamed [email protected][email protected]
Binary file removed ...bilitySnapshotTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file removed ...ccessibilitySnapshotTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Binary file removed ...tivationPointTests/[email protected]
Diff not rendered.
Binary file removed ...tivationPointTests/[email protected]
Diff not rendered.
Binary file added ...tivationPointTests/[email protected]
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file removed ...pshotTests.ElementOrderTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file removed ...ests.ElementOrderTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...hotTests.ElementOrderTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...ests.ElementOrderTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...ests.ElementSelectionTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...SelectionTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file removed ...tTests.ElementSelectionTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...ntSelectionTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...tTests.ElementSelectionTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ...entSelectionTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file removed ...tTests.ElementSelectionTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Binary file removed ...pshotTests.HitTargetTests/[email protected]
Diff not rendered.
Binary file added ...pshotTests.HitTargetTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file removed ...SnapshotTests.LayoutTests/[email protected]
Diff not rendered.
File renamed without changes
Binary file removed ..._64/SnapshotTests.LayoutTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file removed ...4/SnapshotTests.ModalTests/[email protected]
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Diff not rendered.
File renamed without changes
Binary file removed ...shotTests.SwiftUISnapshotTests/[email protected]
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
3 changes: 1 addition & 2 deletions Example/SnapshotTests/SnapshotTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ class SnapshotTestCase: FBSnapshotTestCase {
private static let testedDevices = [
TestDeviceConfig(systemVersion: "17.2", screenSize: CGSize(width: 393, height: 852), screenScale: 3),
TestDeviceConfig(systemVersion: "16.4", screenSize: CGSize(width: 393, height: 852), screenScale: 3),
TestDeviceConfig(systemVersion: "14.5", screenSize: CGSize(width: 390, height: 844), screenScale: 3),
TestDeviceConfig(systemVersion: "13.7", screenSize: CGSize(width: 375, height: 812), screenScale: 3),
TestDeviceConfig(systemVersion: "15.5", screenSize: CGSize(width: 390, height: 844), screenScale: 3),
]

// MARK: - FBSnapshotTestCase
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
9 changes: 3 additions & 6 deletions Scripts/build.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,16 @@ enum TaskError: Error {
enum Platform: String, CustomStringConvertible {
case iOS_17
case iOS_16
case iOS_14
case iOS_13
case iOS_15

var destination: String {
switch self {
case .iOS_17:
return "platform=iOS Simulator,OS=17.2,name=iPhone 14 Pro"
case .iOS_16:
return "platform=iOS Simulator,OS=16.4,name=iPhone 14 Pro"
case .iOS_14:
return "platform=iOS Simulator,OS=14.5,name=iPhone 12 Pro"
case .iOS_13:
return "platform=iOS Simulator,OS=13.7,name=iPhone 11 Pro"
case .iOS_15:
return "platform=iOS Simulator,OS=15.5,name=iPhone 12 Pro"
}
}

Expand Down
8 changes: 2 additions & 6 deletions Scripts/github/prepare-simulators.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ if [[ ${PLATFORMS[*]} =~ 'iOS_16' ]]; then
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
fi

if [[ ${PLATFORMS[*]} =~ 'iOS_14' ]]; then
sudo ln -s /Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 14.5.simruntime
fi

if [[ ${PLATFORMS[*]} =~ 'iOS_13' ]]; then
sudo ln -s /Applications/Xcode_11.7.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 13.7.simruntime
if [[ ${PLATFORMS[*]} =~ 'iOS_15' ]]; then
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
fi

xcrun simctl list runtimes

0 comments on commit 524bbf5

Please sign in to comment.