-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (35 loc) · 934 Bytes
/
builder.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
name: "[CsvBuilder] Build and Test Sources"
on:
push:
branches:
- main
pull_request:
branches:
- main
- develop
jobs:
test_builder:
name: "Build CsvBuilder"
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
if: ${{ env.LOCAL != 'true' }}
with:
xcode-version: latest-stable
- name: Install xcbeautify
run: brew install xcbeautify
- name: Build and Test (osX)
run: |
set -o pipefail && \
xcodebuild -scheme CsvBuilder \
clean build test \
-destination 'platform=OS X,arch=arm64' \
| xcbeautify
- name: Build and Test (iOS)
run: |
set -o pipefail && \
xcodebuild -scheme CsvBuilder \
clean build test \
-destination 'platform=iOS Simulator,name=iPhone 15' \
| xcbeautify