Refactor DirectX 12 hook initialization and cleanup process; improve … #8
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
name: CI Check | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
check-vs2019: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Check CMake configuration (VS2019) | |
run: cmake --preset windows-x64-debug-2019 -Wno-dev --check-system-vars | |
- name: Verify source files exist | |
run: | | |
@( | |
"src/dllmain.cpp", | |
"src/includes.h", | |
"src/hooks/d3d12hook.cpp", | |
"src/hooks/d3d12hook.h", | |
"src/dev/Console.h", | |
"CMakeLists.txt", | |
"CMakePresets.json", | |
"vendor/imgui/imgui.cpp", | |
"vendor/imgui/imgui_demo.cpp", | |
"vendor/kiero/kiero.cpp" | |
) | ForEach-Object { | |
if (-not (Test-Path $_)) { | |
Write-Error "Missing file: $_" | |
exit 1 | |
} | |
} | |
check-vs2022: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Check CMake configuration (VS2022) | |
run: cmake --preset windows-x64-debug-2022 -Wno-dev --check-system-vars |