-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 847 Bytes
/
main.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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
configuration: ['debug', 'release']
runs-on: macOS-14
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '^16.0.0'
- uses: actions/checkout@v4
- run: swift build -c ${{ matrix.configuration }} -Xswiftc -enable-testing -Xswiftc -swift-version -Xswiftc 6
podspec:
strategy:
matrix:
configuration: ['Debug', 'Release']
platform: ['ios', 'macos']
runs-on: macOS-14
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '^16.0.0'
- uses: actions/checkout@v4
- run: bundle install
- run: bundle exec pod lib lint --platforms=${{ matrix.platform }} --configuration=${{ matrix.configuration }}