From 1cd3c19ea6288dad44e786302c660b63f52be86f Mon Sep 17 00:00:00 2001 From: Ulrich Hornung Date: Thu, 7 Mar 2024 22:57:19 +0100 Subject: [PATCH] install right version of gcc --- .github/workflows/CICD.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 8157b4f370d..9b948153a50 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -624,8 +624,8 @@ jobs: ;; # Update binutils if MinGW due to https://github.com/rust-lang/rust/issues/112368 x86_64-pc-windows-gnu) - C:/msys64/usr/bin/pacman.exe -Syu --needed mingw-w64-x86_64-gcc --noconfirm - echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH + echo "installing gcc" && C:/msys64/usr/bin/pacman.exe -Syu --needed gcc --noconfirm + echo "C:\msys64\usr\bin" >> $GITHUB_PATH ;; esac case '${{ matrix.job.os }}' in @@ -998,7 +998,10 @@ jobs: esac case '${{ matrix.job.os }}' in # Update binutils if MinGW due to https://github.com/rust-lang/rust/issues/112368 - windows-latest) C:/msys64/usr/bin/pacman.exe -Syu --needed mingw-w64-x86_64-gcc --noconfirm ; echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH ;; + windows-latest) + echo "installing gcc" && C:/msys64/usr/bin/pacman.exe -Syu --needed gcc --noconfirm + echo "C:\msys64\usr\bin" >> $GITHUB_PATH + ;; esac - name: Initialize toolchain-dependent workflow variables id: dep_vars