-
Notifications
You must be signed in to change notification settings - Fork 43
34 lines (28 loc) · 842 Bytes
/
ci.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
name: CI
on:
push:
pull_request:
branches: [main]
jobs:
test:
strategy:
matrix:
scheme: [macOS, visionOS]
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_15.2.app
- name: Set up visionOS SDK
if: matrix.scheme == 'visionOS'
run: |
defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES
defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES
xcodebuild -downloadPlatform visionOS
- name: System Info
run: |
uname -a
xcodebuild -version
- name: Build
run: xcodebuild -project MacCast.xcodeproj -scheme ${{ matrix.scheme }} CODE_SIGNING_ALLOWED=NO