Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
resetius authored Dec 5, 2024
1 parent 4000b2e commit b3b3276
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3b3276

Please sign in to comment.