Skip to content

Commit 27a35b5

Browse files
committed
Clean up after debug build
1 parent 8dba048 commit 27a35b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/windows.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868

6969
# Windows CUDA builds use USE_NCCL=off due to compilation errors.
7070
- name: Build Debug
71+
id: build-debug
7172
uses: lukka/run-cmake@v3
7273
with:
7374
buildDirectory: ${{ github.workspace }}/build/Debug
@@ -93,6 +94,11 @@ jobs:
9394
# able to find sometimes.
9495
if: matrix.gpu == true
9596

97+
- name: Cleanup Debug
98+
if: steps.build-debug.conclusion == 'success'
99+
working-directory: ${{ github.workspace }}/build/Debug
100+
run: cmake --build . --target clean
101+
96102
# Windows CUDA builds use USE_NCCL=off due to compilation errors
97103
- name: Build Release
98104
uses: lukka/run-cmake@v3

0 commit comments

Comments
 (0)