From 61a8490e1f4d28ac610e84bb26b8485d5408d2e8 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Mon, 12 Feb 2024 07:36:08 +0000 Subject: [PATCH] chore: Plan B --- .github/workflows/win_cpn-32.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/win_cpn-32.yml b/.github/workflows/win_cpn-32.yml index 18e647a2d36..793a030f8c5 100644 --- a/.github/workflows/win_cpn-32.yml +++ b/.github/workflows/win_cpn-32.yml @@ -37,7 +37,7 @@ jobs: with: msystem: MINGW32 update: true - install: git make mingw-w64-i686-toolchain + install: git make curl tar mingw-w64-i686-toolchain - name: Install Dependencies run: | @@ -56,11 +56,17 @@ jobs: mingw-w64-i686-SDL2 \ mingw-w64-i686-clang \ mingw-w64-i686-nsis \ - mingw-w64-i686-dfu-util \ mingw-w64-i686-openssl SETUPTOOLS_USE_DISTUTILS=stdlib pip install lz4 python -m pip install clang jinja2 lz4 + - name: Download and unpack dfu-util + run: | + curl -LO https://dfu-util.sourceforge.net/releases/dfu-util-0.11-binaries.tar.xz && \ + tar -xf dfu-util-0.11-binaries.tar.xz && \ + cp dfu-util-0.11-binaries/win32/dfu-util-static.exe /usr/bin/dfu-util.exe && \ + cp dfu-util-0.11-binaries/win32/libusb-1.0.dll /usr/bin/libusb-1.0.dll + - name: Install Qt uses: jurplel/install-qt-action@v3 with: