mirror of https://github.com/JakubMelka/PDF4QT.git
CI: Echo CMAKE COMMAND
This commit is contained in:
parent
14ae5e9a85
commit
38988babc5
|
@ -26,6 +26,8 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
./vcpkg/downloads
|
./vcpkg/downloads
|
||||||
./vcpkg/packages
|
./vcpkg/packages
|
||||||
|
./vcpkg/installed
|
||||||
|
./vcpkg/buildtrees
|
||||||
key: ${{ runner.os }}-vcpkg-v2-${{ hashFiles('**/vcpkg.json') }}
|
key: ${{ runner.os }}-vcpkg-v2-${{ hashFiles('**/vcpkg.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-vcpkg-v2-
|
${{ runner.os }}-vcpkg-v2-
|
||||||
|
@ -47,11 +49,16 @@ jobs:
|
||||||
cache: 'true'
|
cache: 'true'
|
||||||
cache-key-prefix: ${{ runner.os }}-qt-660
|
cache-key-prefix: ${{ runner.os }}-qt-660
|
||||||
|
|
||||||
|
- name: Echo CMake command
|
||||||
|
run: echo "cmake --trace -B build -S . -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 -DCMAKE_BUILD_TYPE=Release -DPDF4QT_INSTALL_TO_USR=ON"
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
working-directory: pdf4qt
|
working-directory: pdf4qt
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
cmake -B build -S . -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 -DCMAKE_BUILD_TYPE=Release -DPDF4QT_INSTALL_TO_USR=ON
|
cmake --trace -B build -S . -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 -DCMAKE_BUILD_TYPE=Release -DPDF4QT_INSTALL_TO_USR=ON
|
||||||
cmake --build build -j6
|
cmake --build build -j6
|
||||||
cmake --install build
|
cmake --install build
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue