Fix build/test config mismatch in Windows and macOS jobs

Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 56176bb..8cf2460 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -64,7 +64,7 @@
         id: test-lib
         run: |
           cd build
-          ctest -j10 -C Release -T test --output-on-failure
+          ctest -j10 -C Debug -T test --output-on-failure
 
   macos:
     name: "macOS Latest"
@@ -85,7 +85,7 @@
         id: test-lib
         run: |
           cd build
-          ctest -j10 -C Release -T test --output-on-failure
+          ctest -j10 -C Debug -T test --output-on-failure
       - name: Cleanup
         id: clean-up
         run: |