Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Urpagin committed May 11, 2024
1 parent 1e5ce56 commit 18c3a73
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ ubuntu-latest, windows-latest ]
include:
- os: ubuntu-latest
name: "Linux x64"
Expand All @@ -33,8 +33,14 @@ jobs:
- name: Install dependencies (Windows)
if: matrix.os == 'windows-latest'
run: |
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' --no-progress
choco install mingw --no-progress
echo "Updating MSYS2 packages"
pacman -Syu --noconfirm
echo "Installing MinGW and CMake with MSYS2"
pacman -S --noconfirm mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake
echo "Adding MinGW bin to PATH"
echo "C:\\msys64\\mingw64\\bin" >> $GITHUB_PATH
shell: msys2 {0}


- name: Configure CMake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
Expand Down

0 comments on commit 18c3a73

Please sign in to comment.