Skip to content

Merge pull request #575 from skywinder/release/2.7.4 #2

Merge pull request #575 from skywinder/release/2.7.4

Merge pull request #575 from skywinder/release/2.7.4 #2

Workflow file for this run

name: CI Build
on:
push:
branches:
- develop
paths:
- 'ActionSheetPicker-3.0.podspec'
- 'Package.swift'
- 'CoreActionSheetPicker/**'
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- xcode: "13.2.1"
os: macos-11
# - xcode: "15.2"
# os: macOS-14
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