forked from cinder/Cinder
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (24 loc) · 781 Bytes
/
xcode-macOS.yml
File metadata and controls
30 lines (24 loc) · 781 Bytes
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
name: Xcode macOS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-13
strategy:
matrix:
config: [Debug, Release]
steps:
- name: Clone
uses: actions/checkout@v3
- name: Build
working-directory: ${{github.workspace}}
run: xcodebuild -project proj/xcode/cinder.xcodeproj -target cinder -configuration ${{matrix.config}}
- name: Build Unit Tests
working-directory: ${{github.workspace}}/test/unit
run: xcodebuild -project xcode/UnitTests.xcodeproj -configuration ${{matrix.config}}
- name: Run Unit Tests
working-directory: ${{github.workspace}}/test/unit
run: ./xcode/build/${{matrix.config}}/CinderUnitTests