Implement visionOS support

This commit is contained in:
Ravbug
2023-07-23 23:11:09 -07:00
committed by Sam Lantinga
parent e385d6da0a
commit 690eae7d22
15 changed files with 217 additions and 41 deletions

22
.github/workflows/visionos.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Build (visionOS)
# FIXME: CMake 3.28 is not yet available on the github runner
# on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
Build:
name: visionOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Configure
run: |
cmake -B build -GXcode -DCMAKE_SYSTEM_NAME=visionOS
- name: Build
run: |
cmake --build build