-
Notifications
You must be signed in to change notification settings - Fork 293
42 lines (36 loc) · 993 Bytes
/
macOS.yml
File metadata and controls
42 lines (36 loc) · 993 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
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright (c) 2024-2026 The Khronos Group Inc.
# SPDX-License-Identifier: CC0-1.0
name: macOS
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
macOS-build:
strategy:
matrix:
device: [
macos-15-intel, # Tests Mac x86_64
macos-latest, # Tests Mac arm64
]
runs-on: ${{ matrix.device }}
steps:
- uses: actions/checkout@v6
- name: "Get modern CMake and Ninja"
uses: "lukka/get-cmake@v4.3.0"
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@v1.2.1
with:
vulkan-query-version: 1.3.290.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: Build
run: |
mkdir -p build/macos
cd build/macos
cmake -G "Xcode" ../..
xcodebuild -list -project OPENXR.xcodeproj/
xcodebuild -scheme ALL_BUILD build