diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40b7988a..b0924302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/AccessibilitySnapshot.podspec b/AccessibilitySnapshot.podspec index fdd02c8c..5ab6744e 100644 --- a/AccessibilitySnapshot.podspec +++ b/AccessibilitySnapshot.podspec @@ -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' diff --git a/Scripts/build.swift b/Scripts/build.swift index 4b8aeb8d..5d43d421 100755 --- a/Scripts/build.swift +++ b/Scripts/build.swift @@ -48,7 +48,6 @@ enum TaskError: Error { enum Platform: String, CustomStringConvertible { case iOS_17 case iOS_16 - case iOS_15 var destination: String { switch self { @@ -56,8 +55,6 @@ enum Platform: String, CustomStringConvertible { 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" } } diff --git a/Scripts/github/prepare-simulators.sh b/Scripts/github/prepare-simulators.sh index c8975ab0..305f39ef 100755 --- a/Scripts/github/prepare-simulators.sh +++ b/Scripts/github/prepare-simulators.sh @@ -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