Skip to content

🛡️ Sentinel: Fix AsyncLogger unbounded queue DoS vulnerability #156

🛡️ Sentinel: Fix AsyncLogger unbounded queue DoS vulnerability

🛡️ Sentinel: Fix AsyncLogger unbounded queue DoS vulnerability #156

Workflow file for this run

name: Build
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
build-windows:
runs-on: windows-latest
env:
VULKAN_SDK: C:\VulkanSDK\1.3.290.0
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Cache Vulkan SDK
id: cache-vulkan
uses: actions/cache@v4
with:
path: C:\VulkanSDK
key: vulkan-sdk-1.3.290.0-windows
- name: Install Vulkan SDK
if: steps.cache-vulkan.outputs.cache-hit != 'true'
run: |
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/1.3.290.0/windows/VulkanSDK-1.3.290.0-Installer.exe" -OutFile VulkanSDK.exe
Start-Process -FilePath .\VulkanSDK.exe -ArgumentList "--accept-licenses --default-answer --confirm-command install" -Wait
shell: pwsh
- name: Clone dependencies
run: |
git clone --depth 1 https://github.com/glfw/glfw.git external/glfw
git clone --depth 1 https://github.com/g-truc/glm.git external/glm
git clone --depth 1 https://github.com/ocornut/imgui.git external/imgui
- name: Configure CMake
run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
env:
VULKAN_SDK: ${{ env.VULKAN_SDK }}
- name: Build
run: cmake --build build --config Release
- name: Compile Shaders
run: |
$env:PATH = "$env:VULKAN_SDK\Bin;$env:PATH"
if (Test-Path "compile_shaders.bat") {
cmd /c compile_shaders.bat
}
shell: pwsh