This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
CI #1124
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 | |
# This workflow is triggered on pushes to the repository. | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '1 * */1 * *' | |
jobs: | |
test: | |
# Job name is Test | |
name: Test | |
# This job runs on macOS | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
destination: ['platform=iOS Simulator,OS=14.0,name=iPhone 8'] | |
xcode: ['/Applications/Xcode.app/Contents/Developer'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Dependencies | |
run: | | |
sudo gem install cocoapods | |
pod repo update | |
env: | |
DEVELOPER_DIR: ${{ matrix.xcode }} | |
- name: Build | |
run: pod lib lint --use-libraries --allow-warnings || pod lib lint --allow-warnings |