mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-08-18 20:50:55 +08:00
Windows: Use ninja for build
This commit is contained in:
@@ -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 `
|
||||
|
||||
Reference in New Issue
Block a user