-
Notifications
You must be signed in to change notification settings - Fork 128
39 lines (37 loc) · 875 Bytes
/
build.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
name: Build Phoenix
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.2.0
- name: Build docs
working-directory: docs
run: |
npm ci
npm run lint
npm run build
- name: Install ClangFormat
run: brew install clang-format
- name: Build Launcher
uses: sersoft-gmbh/xcodebuild-action@v3
with:
workspace: Phoenix.xcworkspace
scheme: Launcher
action: test build
- name: Build Phoenix
uses: sersoft-gmbh/xcodebuild-action@v3
with:
workspace: Phoenix.xcworkspace
scheme: Phoenix
action: test build