Skip to content

Commit

Permalink
fix github action #5
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Oct 7, 2024
1 parent 5975393 commit 78ccbab
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,17 @@ jobs:
brew install ninja qt
echo "CMAKE_PREFIX_PATH=$(brew --prefix qt)" >> $GITHUB_ENV
# Set up MSVC for Windows without setup-msbuild action
- name: Set up MSVC (Windows)
# Set up Python for Windows (to install Chocolatey)
- name: Set up Python (Windows)
if: matrix.os == 'windows-latest'
uses: actions/setup-python@v4

# Install Visual Studio Build Tools and Ninja for Windows
- name: Install Visual Studio Build Tools (Windows)
if: matrix.os == 'windows-latest'
uses: actions/setup-python@v4 # This ensures Python is available
run: |
choco install visualstudio2019buildtools -y
choco install ninja -y
echo "Installing Visual Studio Build Tools"
echo "::add-path::C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\MSBuild\\Current\\Bin"
# Configure CMake
Expand Down

0 comments on commit 78ccbab

Please sign in to comment.