Skip to content

Commit 9f33c12

Browse files
committed
More Github Actions Testing 6.
1 parent 92742c3 commit 9f33c12

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ jobs:
6868
6969
- name: Configure CMake
7070
run: |
71-
cmake -S . -B build ${{ matrix.cmake_gen }} ${{ matrix.cmake_extra_args }} -DCMAKE_BUILD_TYPE=Release
71+
cmake -S . -B build ${{ matrix.cmake_gen }} ${{ matrix.cmake_extra_args }} -DCMAKE_BUILD_TYPE=Debug
7272
7373
- name: Build
74-
run: cmake --build build --config Release
74+
run: cmake --build build --config Debug
7575

7676
- name: Configure Environment (Windows)
7777
if: runner.os == 'Windows'
@@ -84,12 +84,16 @@ jobs:
8484
}
8585
# Set VK_LAYER_PATH to SDK Bin for validation layers
8686
echo "VK_LAYER_PATH=$env:VULKAN_SDK\Bin" >> $env:GITHUB_ENV
87+
# Enable Loader Debugging
88+
echo "VK_LOADER_DEBUG=all" >> $env:GITHUB_ENV
8789
8890
- name: Configure Environment (macOS)
8991
if: runner.os == 'macOS'
9092
run: |
9193
# Disable Metal Argument Buffers to prevent crash on Paravirt GPU
9294
echo "MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS=0" >> $GITHUB_ENV
95+
# Enable debug logging for MoltenVK
96+
echo "MVK_CONFIG_LOG_LEVEL=3" >> $GITHUB_ENV
9397
9498
# Check common locations for MoltenVK ICD
9599
if [ -f "$VULKAN_SDK/share/vulkan/icd.d/MoltenVK_icd.json" ]; then
@@ -112,4 +116,4 @@ jobs:
112116
fi
113117
114118
- name: Test
115-
run: ctest --test-dir build -C Release --output-on-failure
119+
run: ctest --test-dir build -C Debug --verbose

0 commit comments

Comments
 (0)