-
Notifications
You must be signed in to change notification settings - Fork 246
48 lines (40 loc) · 1001 Bytes
/
primary.yml
File metadata and controls
48 lines (40 loc) · 1001 Bytes
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
45
46
47
48
#
# This file is part of the PocketSVG package.
#
# Copyright (c) Ponderwell, Ariel Elkin, Fjölnir Ásgeirsson, and Contributors
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
name: CI
on:
push:
branches: [master]
tags:
- '*' # run on every tag
pull_request:
jobs:
primary:
name: Primary
runs-on: macOS-13
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: Build demos
run: sh ci/build_demos.sh
- name: Run unit tests
run: sh ci/test.sh
spm:
name: Swift Package Manager
runs-on: macOS-14
steps:
- uses: actions/checkout@v4
- name: Swift Build
run: swift build
cocoapods:
name: Cocoapods
runs-on: macOS-14
steps:
- uses: actions/checkout@v4
- name: Lint Podspec
run: pod lib lint --allow-warnings