-
-
Notifications
You must be signed in to change notification settings - Fork 71
48 lines (45 loc) · 1.21 KB
/
cicd.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
name: Build for macos platform
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
# https://stackoverflow.com/a/72408109/6942800
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build boringNotch
strategy:
matrix:
platform:
- macOS
scheme:
- boringNotch
runs-on: macos-latest
steps:
- name: Switch xcode to latest-stable
uses: maxim-lobanov/[email protected]
with:
xcode-version: latest-stable
- name: Code Checkout
uses: actions/checkout@v2
- name: Check xcodebuild version
run: xcodebuild -version
- name: Check xcode embedded SDKs
run: xcodebuild -showsdks
- name: Show buildable schemes
run: xcodebuild -list
- name: Show eligible build destinations for ${{ matrix.scheme }}
run: xcodebuild -showdestinations -scheme ${{ matrix.scheme }}
- uses: mxcl/xcodebuild@v3
with:
platform: ${{ matrix.platform }}
scheme: ${{ matrix.scheme }}
action: build
verbosity: xcpretty
upload-logs: always
configuration: release