From 581ecdc0212a1e97d8a3eaf17588c53d3d0a3510 Mon Sep 17 00:00:00 2001 From: Elliot Gorokhovsky Date: Thu, 5 Jan 2023 10:48:05 -0800 Subject: [PATCH] fix 32-bit gcc mingw test --- .github/workflows/dev-short-tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-short-tests.yml b/.github/workflows/dev-short-tests.yml index 56ac8059f..fb2b63bfc 100644 --- a/.github/workflows/dev-short-tests.yml +++ b/.github/workflows/dev-short-tests.yml @@ -421,8 +421,11 @@ jobs: update: true # Based on https://ariya.io/2020/07/on-github-actions-with-msys2 - name: install mingw gcc - if: ${{ matrix.compiler == 'gcc' }} - run: pacman --noconfirm -S gcc + if: ${{ (matrix.msystem == 'MINGW32') && (matrix.compiler == 'gcc') }} + run: pacman --noconfirm -S mingw-w64-i686-gcc + - name: install mingw gcc + if: ${{ (matrix.msystem == 'MINGW64') && (matrix.compiler == 'gcc') }} + run: pacman --noconfirm -S mingw-w64-x86_64-gcc - name: install mingw clang x86_64 if: ${{ (matrix.msystem == 'MINGW64') && (matrix.compiler == 'clang') }} run: pacman --noconfirm -S mingw-w64-x86_64-clang -- 2.47.2