Merge pull request #77 from tesseract-one/master #6
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: Build & Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
apple: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Select Xcode | |
run: sudo xcode-select -s /Applications/Xcode_14.0.app | |
- name: Build and Test SPM | |
run: swift test -v | |
- name: Build and Test CocoaPods | |
run: pod lib lint --allow-warnings --fail-fast | |
linux: | |
runs-on: ubuntu-latest | |
container: | |
image: swift:5.8.1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build and Test | |
run: swift test -v |