Skip to content

Commit

Permalink
added ci submodule support
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlrnsn committed Dec 20, 2024
1 parent f288346 commit e060b5f
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
submodules: true
fetch-depth: 0

- name: Initialize submodules
run: |
git submodule update --init --recursive
git submodule foreach git checkout main
- name: Check CMake configuration (VS2019)
run: cmake --preset windows-x64-debug-2019 -Wno-dev --check-system-vars
Expand All @@ -27,7 +33,10 @@ jobs:
"src/hooks/d3d12hook.h",
"src/dev/Console.h",
"CMakeLists.txt",
"CMakePresets.json"
"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: $_"
Expand All @@ -41,7 +50,13 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
submodules: true
fetch-depth: 0

- name: Initialize submodules
run: |
git submodule update --init --recursive
git submodule foreach git checkout main
- name: Check CMake configuration (VS2022)
run: cmake --preset windows-x64-debug-2022 -Wno-dev --check-system-vars

0 comments on commit e060b5f

Please sign in to comment.