CI: Specify parameter to MSBUILD

This commit is contained in:
Jakub Melka 2023-12-10 18:32:25 +01:00
parent 6721490ee6
commit 8759578142
1 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ jobs:
with: with:
path: pdf4qt path: pdf4qt
- name: Install Ninja # - name: Install Ninja
run: choco install ninja # run: choco install ninja
- name: 'VCPKG: Set up VCPKG' - name: 'VCPKG: Set up VCPKG'
run: | run: |
@ -61,8 +61,8 @@ jobs:
working-directory: pdf4qt working-directory: pdf4qt
shell: pwsh shell: pwsh
run: | run: |
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -G Ninja -DPDF4QT_INSTALL_QT_DEPENDENCIES=ON -DPDF4QT_INSTALL_DEPENDENCIES=ON -DCMAKE_TOOLCHAIN_FILE="${env:GITHUB_WORKSPACE}\vcpkg\scripts\buildsystems\vcpkg.cmake" -DPDF4QT_QT_ROOT="${env:Qt6_DIR}" -DPDF4QT_INSTALL_MSVC_REDISTRIBUTABLE=ON -DPDF4QT_INSTALL_PREPARE_WIX_INSTALLER=ON -DPDF4QT_INSTALL_TO_USR=ON cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DPDF4QT_INSTALL_QT_DEPENDENCIES=ON -DPDF4QT_INSTALL_DEPENDENCIES=ON -DCMAKE_TOOLCHAIN_FILE="${env:GITHUB_WORKSPACE}\vcpkg\scripts\buildsystems\vcpkg.cmake" -DPDF4QT_QT_ROOT="${env:Qt6_DIR}" -DPDF4QT_INSTALL_MSVC_REDISTRIBUTABLE=ON -DPDF4QT_INSTALL_PREPARE_WIX_INSTALLER=ON -DPDF4QT_INSTALL_TO_USR=ON
cmake --build build -j6 cmake --build build --config Release -j6
cmake --install build cmake --install build
- name: Make Windows ZIP package - name: Make Windows ZIP package