-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenXR loader: add API layer discovery support.
Revert "Update local repo to latest."
- Loading branch information
dengkail
committed
Aug 14, 2023
1 parent
6f3ccf3
commit 434f398
Showing
111 changed files
with
4,746 additions
and
2,538 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
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
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-2022, Collabora, Ltd. | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
on: | ||
|
@@ -9,18 +9,13 @@ on: | |
type: string | ||
required: true | ||
buildType: | ||
description: "Build configuration" | ||
description: "Build type" | ||
type: string | ||
required: true | ||
default: RelWithDebInfo | ||
artifactName: | ||
description: "Artifact name to upload to." | ||
type: string | ||
required: false | ||
subdir: | ||
description: "Subdir of the workspace to upload as an artifact." | ||
type: string | ||
default: install | ||
|
||
jobs: | ||
msvc-build: | ||
|
@@ -30,33 +25,30 @@ jobs: | |
INSTALL_DIR: "${{ github.workspace }}/install" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Get modern CMake and Ninja | ||
uses: lukka/[email protected] | ||
|
||
- uses: lukka/[email protected] | ||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Install Vulkan SDK | ||
run: ./.github/scripts/install_vulkan.ps1 | ||
if: "${{ !contains( inputs.preset, 'uwp') }}" | ||
working-directory: "${{ github.workspace }}" | ||
if: ${{ !contains( inputs.preset, 'uwp') }} | ||
working-directory: ${{ github.workspace }} | ||
shell: pwsh | ||
run: ./.github/scripts/install_vulkan.ps1 | ||
|
||
- name: Generate build system | ||
shell: pwsh | ||
run: | | ||
Copy-Item .github/scripts/CMakePresets.json . | ||
cmake --fresh --preset ${{ inputs.preset }} -S . -B $env:RUNNER_TEMP | ||
- name: Build | ||
run: "cmake --build $env:RUNNER_TEMP --parallel --clean-first --config ${{ inputs.buildType }}" | ||
run: cmake --build $env:RUNNER_TEMP --parallel --clean-first --config ${{ inputs.buildType }} | ||
|
||
- name: Install | ||
run: "cmake --build $env:RUNNER_TEMP --parallel --config ${{ inputs.buildType }} --target install" | ||
run: cmake --build $env:RUNNER_TEMP --parallel --config ${{ inputs.buildType }} --target install | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
if: inputs.artifactName | ||
with: | ||
name: "${{ inputs.artifactName }}" | ||
path: "${{ github.workspace }}/${{ inputs.subdir }}" | ||
name: ${{ inputs.artifactName }} | ||
path: ${{ github.workspace }}/install |
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
Oops, something went wrong.