From b3b3276266fcad65137d7ab389f779874bd4074b Mon Sep 17 00:00:00 2001 From: Alexey Ozeritskiy Date: Thu, 5 Dec 2024 21:47:14 +0000 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 30656d0..9c320fa 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -55,17 +55,21 @@ jobs: run: git submodule update --init --recursive - name: Install Packages using MSYS2 run: | - choco install msys2 -y + choco install msys2 -y + - name: Install Additional Packages + run: | $env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.." Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" setx PATH "%PATH%;C:\tools\msys64\mingw64\bin;C:\tools\msys64\usr\bin" refreshenv pacman -Syu --noconfirm pacman -S --noconfirm mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-cmocka - refreshenv ls -l C:\tools\msys64\mingw64\bin - name: Verify Installation run: | + $env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.." + Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" + setx PATH "C:\tools\msys64\mingw64\bin;C:\tools\msys64\usr\bin;%PATH%" gcc --version cmake --version ninja --version