forked from KhronosGroup/OpenXR-SDK-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main'
- Loading branch information
Showing
12 changed files
with
93 additions
and
41 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Get modern CMake and Ninja | ||
uses: "lukka/[email protected].1" | ||
uses: "lukka/[email protected].2" | ||
|
||
# Do this before building aar since it affects the version | ||
- name: Touch SNAPSHOT marker file | ||
|
@@ -36,7 +36,7 @@ jobs: | |
run: "./maintainer-scripts/build-aar.sh" | ||
|
||
- name: Upload bare AAR | ||
uses: "actions/upload-artifact@v3" | ||
uses: "actions/upload-artifact@v4" | ||
with: | ||
name: AAR and POM | ||
path: openxr_loader_for_android* | ||
|
@@ -47,12 +47,13 @@ jobs: | |
steps: | ||
- uses: "actions/checkout@v4" | ||
- name: "Get modern CMake and Ninja" | ||
uses: "lukka/[email protected].1" | ||
uses: "lukka/[email protected].2" | ||
- name: "set up JDK 11" | ||
uses: "actions/setup-java@v4" | ||
with: | ||
java-version: "11" | ||
distribution: "temurin" | ||
# Also performs Gradle wrapper validation | ||
- uses: "gradle/actions/setup-gradle@v4" | ||
|
||
# HelloXR OpenGLES version | ||
|
@@ -61,7 +62,7 @@ jobs: | |
|
||
- name: Upload HelloXR OpenGLES (debug) for Android | ||
if: "!inputs.release" | ||
uses: "actions/upload-artifact@v3" | ||
uses: "actions/upload-artifact@v4" | ||
with: | ||
name: HelloXR OpenGLES Android | ||
path: "src/tests/hello_xr/build/outputs/apk/OpenGLES/debug/*.apk" |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# 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/[email protected]" | ||
- name: Prepare Vulkan SDK | ||
uses: humbletim/[email protected] | ||
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023, Collabora, Ltd. | ||
# Copyright 2021-2024, Collabora, Ltd. | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
on: | ||
|
@@ -34,7 +34,7 @@ jobs: | |
lfs: true | ||
|
||
- name: Get modern CMake and Ninja | ||
uses: lukka/[email protected].1 | ||
uses: lukka/[email protected].2 | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/setup-msbuild@v2 | ||
|
@@ -57,7 +57,7 @@ jobs: | |
run: "cmake --build $env:RUNNER_TEMP --parallel --config ${{ inputs.buildType }} --target install" | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
if: inputs.artifactName | ||
with: | ||
name: "${{ inputs.artifactName }}" | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Addition: hello_xr: Log Vulkan extensions requested by runtime and by app, visible when running with `--verbose`. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ci: Remove now-redundant gradle-wrapper-validation job from GitHub Actions |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- ci: Add GitHub Action for macOS building | ||
- doc: Add command to build OpenXR targets on macOS |
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