From e32d9d04064cc7fa2f62387dd80ffaa5b0736783 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 8 Jan 2025 02:56:27 +0100 Subject: [PATCH] revert windows changes --- .github/workflows/build_release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 1af00c0..a2f8fd2 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -146,11 +146,17 @@ jobs: cache-name: ${{ matrix.cache-name }} continue-on-error: true - - name: Setup MinGW for Windows/MinGW build + - name: Install Windows build dependencies if: ${{ matrix.platform == 'windows' }} - uses: egor-tensin/setup-mingw@v2 - with: - version: 12.2.0 + run: | + sudo apt-get update + sudo apt-get install build-essential mingw-w64 + sudo update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix + sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix + sudo update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix + sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix + dpkg -l | grep ii | grep mingw + update-alternatives --get-selections | grep mingw - name: Install Linux build dependencies if: ${{ matrix.platform == 'linux' }}