Skip to content

Commit

Permalink
Reenable ios 14-16 jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
robmaceachern committed Feb 12, 2024
1 parent 42d4e33 commit 2843a52
Showing 1 changed file with 95 additions and 104 deletions.
199 changes: 95 additions & 104 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,143 +65,134 @@ jobs:
- name: Run Tests
run: Scripts/run_ios17_tests.sh

# ios_16:
# name: iOS 16
ios_16:
name: iOS 16

# runs-on: macos-13-xlarge
runs-on: macos-13-xlarge

# steps:
# - name: Switch To Xcode 15.1
# run: sudo xcode-select -switch /Applications/Xcode_15.1.app
steps:

# - name: Checkout repository
# uses: actions/checkout@v1
- name: Checkout repository
uses: actions/checkout@v1

# # Build Caching
- name: Read env
run: cat .github/workflows/env.properties >> $GITHUB_ENV

# - name: Cache Bundler
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gems-
- name: Switch to Xcode ${{ env.xcode_version }}
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcode_version }}.app

# - name: Cache Cocoapods
# uses: actions/cache@v2
# with:
# path: Pods
# key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-pods-
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
# Uses version specified in .ruby_version
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

# # Install & Build
# Build Caching

# - name: Bundle install
# run: |
# bundle config path vendor/bundle
# bundle install --jobs 4 --retry 3
- name: Cache Cocoapods
uses: actions/cache@v2
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
# - name: Pod Install
# run: bundle exec pod install --repo-update
# Install & Build

# - name: Run Tests
# run: Scripts/run_ios16_tests.sh
- name: Pod Install
run: bundle exec pod install --repo-update

# ios_15:
# name: iOS 15
- name: Run Tests
run: Scripts/run_ios16_tests.sh

# runs-on: macos-13-xlarge
ios_15:
name: iOS 15

# steps:
# - name: Switch To Xcode 15.1
# run: sudo xcode-select -switch /Applications/Xcode_15.1.app
runs-on: macos-13-xlarge

# - name: Install xcodes
# run: brew install aria2 xcodesorg/made/xcodes
steps:

# - name: Install iOS ${{ matrix.sdk }}
# run: sudo xcodes runtimes install "iOS 15.2"
- name: Checkout repository
uses: actions/checkout@v1

# - name: Checkout repository
# uses: actions/checkout@v1
- name: Read env
run: cat .github/workflows/env.properties >> $GITHUB_ENV

- name: Switch to Xcode ${{ env.xcode_version }}
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcode_version }}.app

- name: Install xcodes
run: brew install aria2 xcodesorg/made/xcodes

# # Build Caching
- name: Install iOS ${{ matrix.sdk }}
run: sudo xcodes runtimes install "iOS 15.2"

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
# Uses version specified in .ruby_version
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

# - name: Cache Bundler
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gems-
# Build Caching

# - name: Cache Cocoapods
# uses: actions/cache@v2
# with:
# path: Pods
# key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-pods-
- name: Cache Cocoapods
uses: actions/cache@v2
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
# # Install & Build
# Install & Build

# - name: Bundle install
# run: |
# bundle config path vendor/bundle
# bundle install --jobs 4 --retry 3
- name: Pod Install
run: bundle exec pod install --repo-update

# - name: Pod Install
# run: bundle exec pod install --repo-update
- name: Run Tests
run: Scripts/run_ios15_tests.sh

# - name: Run Tests
# run: Scripts/run_ios15_tests.sh
ios_14:
name: iOS 14

# ios_14:
# name: iOS 14
runs-on: macos-13-xlarge

# runs-on: macos-13-xlarge
steps:

# steps:
# - name: Switch To Xcode 14
# run: sudo xcode-select -switch /Applications/Xcode_15.1.app
- name: Checkout repository
uses: actions/checkout@v1

# - name: Install xcodes
# run: brew install aria2 xcodesorg/made/xcodes
- name: Read env
run: cat .github/workflows/env.properties >> $GITHUB_ENV

# - name: Install iOS ${{ matrix.sdk }}
# run: sudo xcodes runtimes install "iOS 14.5"
- name: Switch to Xcode ${{ env.xcode_version }}
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcode_version }}.app

# - name: Checkout repository
# uses: actions/checkout@v1
- name: Install xcodes
run: brew install aria2 xcodesorg/made/xcodes

# # Build Caching
- name: Install iOS ${{ matrix.sdk }}
run: sudo xcodes runtimes install "iOS 14.5"

# - name: Cache Bundler
# uses: actions/cache@v2
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gems-
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
# Uses version specified in .ruby_version
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

# - name: Cache Cocoapods
# uses: actions/cache@v2
# with:
# path: Pods
# key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-pods-
# Build Caching

# # Install & Build
- name: Cache Cocoapods
uses: actions/cache@v2
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
# - name: Bundle install
# run: |
# bundle config path vendor/bundle
# bundle install --jobs 4 --retry 3
# Install & Build

# - name: Pod Install
# run: bundle exec pod install --repo-update
- name: Pod Install
run: bundle exec pod install --repo-update

# - name: Run Tests
# run: Scripts/run_ios14_tests.sh
- name: Run Tests
run: Scripts/run_ios14_tests.sh

0 comments on commit 2843a52

Please sign in to comment.