fixes #140, problem where only the first tab appears on ios 18 #190
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 and test | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '14.2' | |
- name: Get swift version | |
run: swift --version # Swift 5.7.2 | |
- name: Build PagerTabStrip | |
run: xcodebuild build -workspace PagerTabStripView.xcworkspace -scheme PagerTabStrip | |
- name: Build Example App | |
run: > | |
xcodebuild build -workspace PagerTabStripView.xcworkspace -scheme Example | |
CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | |
- name: Run tests | |
run: > | |
xcodebuild test -workspace PagerTabStripView.xcworkspace -scheme PagerTabStrip | |
-destination 'platform=iOS Simulator,name=iPhone 14 Pro' | |
- name: Run linter | |
run: swiftlint |