Skip to content

Merge pull request #572 from skywinder/all-contributors/add-Wei18 #10

Merge pull request #572 from skywinder/all-contributors/add-Wei18

Merge pull request #572 from skywinder/all-contributors/add-Wei18 #10

Workflow file for this run

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