Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bumping to 0.8.0 #230

Merged
merged 4 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 3 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,9 @@ jobs:
with:
name: Test Results (${{ matrix.platform }})
path: .build/derivedData/**/Logs/Test/*.xcresult
xcode-build-legacy:
name: Xcode Build
runs-on: macOS-12
strategy:
matrix:
platform: ['iOS_15']
fail-fast: false
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.2'
- name: Bundle Install
run: bundle install --gemfile=Example/Gemfile
- name: Prepare Simulator Runtimes
run: Scripts/github/prepare-simulators.sh ${{ matrix.platform }}
- name: Pod Install
run: bundle exec --gemfile=Example/Gemfile pod install --project-directory=Example
- name: Build and Test
run: Scripts/build.swift xcode ${{ matrix.platform }} `which xcpretty`
- name: Upload Results
uses: actions/upload-artifact@v4
if: failure()
with:
name: Test Results (${{ matrix.platform }})
path: .build/derivedData/**/Logs/Test/*.xcresult
pod-lint:
name: Pod Lint
runs-on: macOS-12
runs-on: macOS-13
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand All @@ -78,10 +51,10 @@ jobs:
run: bundle exec --gemfile=Example/Gemfile pod lib lint --verbose --fail-fast
spm:
name: SPM Build
runs-on: macOS-12
runs-on: macOS-13
strategy:
matrix:
platform: ['iOS_15']
platform: ['iOS_16']
fail-fast: false
steps:
- name: Checkout Repo
Expand Down
2 changes: 1 addition & 1 deletion AccessibilitySnapshot.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AccessibilitySnapshot'
s.version = '0.7.0'
s.version = '0.8.0'
s.summary = 'Easy regression testing for iOS accessibility'

s.homepage = 'https://github.com/CashApp/AccessibilitySnapshot'
Expand Down
3 changes: 0 additions & 3 deletions Scripts/build.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,13 @@ enum TaskError: Error {
enum Platform: String, CustomStringConvertible {
case iOS_17
case iOS_16
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_15:
return "platform=iOS Simulator,OS=15.5,name=iPhone 12 Pro"
}
}

Expand Down
4 changes: 0 additions & 4 deletions Scripts/github/prepare-simulators.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@ 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_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