set mingw32 path
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a69438d..aed60ba 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -258,6 +258,13 @@ jobs:
platform: x64
packages: wget make dejagnu automake autoconf libtool texinfo dos2unix unzip
+ - name: add mingw32 to path
+ shell: bash
+ run: |
+ echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH
+
+ - run: i686-w64-mingw32-gcc --version
+
- run: |
set -x
cd $(cygpath $RUNNER_WORKSPACE)/libffi