Fix broken CI status badge in README #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
xcode-build: | |
name: Xcode Build | |
runs-on: macOS-10.15 | |
strategy: | |
matrix: | |
platform: ['iOS_14', 'iOS_13'] | |
fail-fast: false | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Bundle Install | |
run: bundle install --gemfile=Example/Gemfile | |
- name: Select Xcode Version | |
run: sudo xcode-select --switch /Applications/Xcode_12.2.app/Contents/Developer | |
- name: Prepare iOS 13 Simulator | |
run: | | |
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes | |
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 | |
xcrun simctl list runtimes | |
if: matrix.platform == 'iOS_13' | |
- 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` | |
pod-lint: | |
name: Pod Lint | |
runs-on: macOS-10.15 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Bundle Install | |
run: bundle install --gemfile=Example/Gemfile | |
- name: Select Xcode Version | |
run: sudo xcode-select --switch /Applications/Xcode_12.2.app/Contents/Developer | |
- name: Lint AardvarkCrashReport Podspec | |
run: bundle exec --gemfile=Example/Gemfile pod lib lint --verbose --fail-fast AardvarkCrashReport.podspec --allow-warnings |