Add Debug Unix static CI
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci-unix-static.yml
similarity index 93%
rename from .github/workflows/ci.yml
rename to .github/workflows/ci-unix-static.yml
index 481d55f..323b28b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci-unix-static.yml
@@ -7,6 +7,7 @@
       fail-fast: false
       matrix:
         os: [ubuntu-latest, macos-latest]
+        build-type: [Release, Debug]
 
     steps:
     - uses: actions/checkout@v3
@@ -27,7 +28,7 @@
       uses: actions/cache@v3
       with:
         path: ext
-        key: ${{ runner.os }}-${{ hashFiles('ext/*.cmd') }}
+        key: ${{ runner.os }}-${{ runner.build-type }}-${{ hashFiles('ext/*.cmd') }}
     - name: Setup cmake
       uses: jwlawson/actions-setup-cmake@v1.13
       with:
@@ -79,7 +80,7 @@
         mkdir build && cd build
 
         cmake .. -G Ninja
-        -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
+        -DCMAKE_BUILD_TYPE=${{ runner.build-type }} -DBUILD_SHARED_LIBS=OFF
         -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_AOM=ON
         -DAVIF_CODEC_DAV1D=ON -DAVIF_LOCAL_DAV1D=ON
         -DAVIF_CODEC_RAV1E=ON -DAVIF_LOCAL_RAV1E=ON