OpenXR SDK 1.1.43 (2024-11-27) #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2024, 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-14, # Tests Mac arm64 | |
] | |
runs-on: ${{ matrix.device }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Get modern CMake and Ninja" | |
uses: "lukka/get-cmake@v3.30.2" | |
- name: Prepare Vulkan SDK | |
uses: humbletim/setup-vulkan-sdk@v1.2.0 | |
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 |