diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4ad801a33c..72b38eb7ab 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -58,6 +58,13 @@ jobs:
         run: |
           cat ./build/meson-logs/meson-log.txt
 
+      - name: Functional test
+        id: tests
+        run: |
+          cd artifact && wine64 ./mpv.com -v --no-config
+        env:
+          WINEDEBUG: '+loaddll'
+
       - uses: actions/upload-artifact@v3
         with:
           name: mpv-${{ matrix.target }}
diff --git a/ci/build-mingw64.sh b/ci/build-mingw64.sh
index 5eb249b931..eb4b6c4944 100755
--- a/ci/build-mingw64.sh
+++ b/ci/build-mingw64.sh
@@ -219,7 +219,6 @@ if [ "$2" = pack ]; then
     done
     echo "Archiving:"
     pushd artifact
-    wine64 ./mpv.com -v --no-config
     zip -9r "../mpv-git-$(date +%F)-$(git rev-parse --short HEAD)-${TARGET%%-*}.zip" -- *
     popd
 fi