Skip to content

Commit

Permalink
ci: Use ninja on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Nov 17, 2023
1 parent f90462d commit a5e53aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ jobs:
if: matrix.os == 'windows-latest' || matrix.os == 'windows-2019'
working-directory: build
env:
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_GENERATOR: Ninja
run: |
python -m pip install ninja
echo "cmake -DPython3_ROOT_DIR=$env:pythonLocation"
cmake "-DPython3_ROOT_DIR=$env:pythonLocation" -DPython3_FIND_REGISTRY=LAST -DHTTPLIB_USE_ZLIB_IF_AVAILABLE=OFF -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release
Expand Down

0 comments on commit a5e53aa

Please sign in to comment.