Merge pull request #572 from skywinder/all-contributors/add-Wei18 #10
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: | |
- develop | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
xcode: | |
# - "12.5.1" | |
- "13.2.1" | |
os: | |
- macos-11 | |
# - macos-latest | |
runs-on: ${{ matrix.os }} | |
env: | |
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Build SwiftPackage" | |
run: | | |
# Starting with Xcode 11, xcodebuild supports SwiftPM packages out of the box. | |
# ref: https://stackoverflow.com/a/62246008/9801139 | |
xcodebuild clean build \ | |
-scheme CoreActionSheetPicker \ | |
-sdk iphonesimulator \ | |
-destination "name=iPhone 11 Pro" | |
- name: "Build CocoaPods" | |
run: | | |
gem install cocoapods | |
pod lib lint --allow-warnings | |
- name: "Build Carthage" | |
run: | | |
brew install carthage | |
carthage build --no-skip-current --use-xcframeworks |