Skip to content

Vulkan: enabled OpenXR support through XR_KHR_vulkan_enable2 #3097

Vulkan: enabled OpenXR support through XR_KHR_vulkan_enable2

Vulkan: enabled OpenXR support through XR_KHR_vulkan_enable2 #3097

Workflow file for this run

name: CodeQL Code Scanning
on: [push, pull_request]
jobs:
run-analysis:
strategy:
matrix:
toolset: ["x64"]
build_type: ["Debug"]
host_name: ["Win10", "Linux"]
cmake_args: ["-DDILIGENT_NO_GLSLANG=ON -DDILIGENT_NO_HLSL=ON"]
include:
- host_name: "Win10"
platform: "Win32"
os: "windows-2022"
cmake_generator: "Visual Studio 17 2022"
- host_name: "Linux"
platform: "Linux"
os: "ubuntu-20.04"
cmake_generator: "Ninja"
cc: "clang-12"
cxx: "clang++-12"
runs-on: ${{ matrix.os }}
name: ${{ matrix.host_name }} -> Code QL, ${{ matrix.toolset }}, ${{ matrix.build_type }}
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up build environment
if: success()
uses: DiligentGraphics/github-action/setup-build-env@v1
with:
platform: ${{ matrix.platform }}
cmake-generator: ${{ matrix.cmake_generator }}
- name: Configure CMake
if: success()
uses: DiligentGraphics/github-action/configure-cmake@v1
with:
cc: ${{ matrix.cc }}
cxx: ${{ matrix.cxx }}
generator: ${{ matrix.cmake_generator }}
vs-arch: ${{ matrix.toolset }}
build-type: ${{ matrix.build_type }}
cmake-args: ${{ matrix.cmake_args }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: cpp
queries: security-and-quality
- name: Build
if: success()
uses: DiligentGraphics/github-action/build@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3