forked from CocoaLumberjack/CocoaLumberjack
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (45 loc) · 1.18 KB
/
library-builds.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
45
46
47
48
49
name: Library Builds
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
LC_CTYPE: en_US.UTF-8
LANG: en_US.UTF-8
jobs:
static-lib:
runs-on: macos-14
strategy:
matrix:
sdk: [ iphonesimulator, macosx ]
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ^15.2
- uses: actions/checkout@v4
- uses: sersoft-gmbh/xcodebuild-action@v3
with:
workspace: Xcode/Lumberjack.xcworkspace
scheme: CocoaLumberjack-Static
configuration: Release
sdk: ${{ matrix.sdk }}
action: build
dynamic-lib:
runs-on: macos-14
strategy:
matrix:
scheme: [ CocoaLumberjack, CocoaLumberjackSwift ]
sdk: [ iphonesimulator, macosx, watchsimulator, appletvsimulator ]
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ^15.2
- uses: actions/checkout@v4
- uses: sersoft-gmbh/xcodebuild-action@v3
with:
workspace: Xcode/Lumberjack.xcworkspace
scheme: ${{ matrix.scheme }}
configuration: Release
sdk: ${{ matrix.sdk }}
action: build