Skip to content

Commit

Permalink
Version 0.8.0
Browse files Browse the repository at this point in the history
* bumping version to 0.8.0

* updating runner versions to macos13

* removing legacy tests as ios 15 is no longer supported by github runners
  • Loading branch information
RoyalPineapple authored Dec 12, 2024
1 parent bc3d41b commit 0702083
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 38 deletions.
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

0 comments on commit 0702083

Please sign in to comment.