From b722c8071718bcc84be808aae36aa6200b2b73de Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Sun, 3 May 2026 01:20:41 +0100 Subject: [PATCH] Windows: Use ninja for build --- .github/workflows/windows.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 969f71e3..cba4b36f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -54,12 +54,17 @@ jobs: triplet: ${{ matrix.triplet }} token: ${{ github.token }} + - name: Set up VS + uses: ilammy/msvc-dev-cmd@v1 + with: + arch: ${{ matrix.arch }} + - name: Configure CMake run: | cmake ` + -G Ninja ` -B ${{github.workspace}}/${{ matrix.buildloc }} ` -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ` - -DCMAKE_GENERATOR_PLATFORM=${{ matrix.platform }} ` -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake ` -DHTTP_API_DIR="C:\\${{ matrix.programfiles }}\\Mosquitto\\dashboard" ` -DVCPKG_MANIFEST_MODE=ON `