forked from TimCinel/ActionSheetPicker
-
-
Notifications
You must be signed in to change notification settings - Fork 741
44 lines (37 loc) · 1.02 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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