-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (44 loc) · 1.2 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- "*"
workflow_dispatch:
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
library-check:
name: Build Library
runs-on: macos-latest
strategy:
matrix:
destination:
- platform=iOS Simulator,name=iPhone 15 Pro
- platform=macOS
config:
- debug
- release
steps:
- name: Install Dependencies
run: |
brew install mise
mise install
mise use --global xcbeautify
- uses: actions/checkout@v4
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Build Package on ${{ matrix.destination }}
run: |
mise use --global xcbeautify
set -o pipefail && xcodebuild \
-workspace ./FluentIcon.xcworkspace \
-scheme FluentIcon \
-destination '${{ matrix.destination }}' \
-configuration ${{ matrix.config }} \
build | xcbeautify --renderer github-actions
- name: Build Package ${{ matrix.config }}
run: swift build -c ${{ matrix.config }}