mirror of https://github.com/JakubMelka/PDF4QT.git
CI: Bugfixing
This commit is contained in:
parent
657afadd46
commit
2ad471ee9a
|
@ -13,15 +13,14 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: pdf4qt
|
path: pdf4qt
|
||||||
|
|
||||||
# - name: Install Ninja
|
|
||||||
# run: choco install ninja
|
|
||||||
|
|
||||||
- name: 'VCPKG: Set up VCPKG'
|
- name: 'VCPKG: Set up VCPKG'
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 https://github.com/microsoft/vcpkg.git
|
git clone --depth=1 https://github.com/microsoft/vcpkg.git
|
||||||
cd vcpkg
|
cd vcpkg
|
||||||
.\bootstrap-vcpkg.bat
|
.\bootstrap-vcpkg.bat -disableMetrics
|
||||||
.\vcpkg integrate install
|
.\vcpkg integrate install
|
||||||
|
set VCPKG_ROOT=${env:GITHUB_WORKSPACE}\vcpkg\
|
||||||
|
set VCPKG_BINARY_SOURCES=clear;files,${env:GITHUB_WORKSPACE}\vcpkg\archives,readwrite
|
||||||
|
|
||||||
- name: 'VCPKG: Cache vcpkg dependencies'
|
- name: 'VCPKG: Cache vcpkg dependencies'
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -30,10 +29,9 @@ jobs:
|
||||||
./vcpkg/downloads
|
./vcpkg/downloads
|
||||||
./vcpkg/packages
|
./vcpkg/packages
|
||||||
./vcpkg/installed
|
./vcpkg/installed
|
||||||
./vcpkg/buildtrees
|
./vcpkg/archives
|
||||||
key: ${{ runner.os }}-vcpkg-v2-${{ hashFiles('**/vcpkg.json') }}
|
key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/vcpkg.json') }}
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-vcpkg-v2-
|
|
||||||
|
|
||||||
- name: 'VCPKG: Install project dependencies'
|
- name: 'VCPKG: Install project dependencies'
|
||||||
run: |
|
run: |
|
||||||
|
@ -52,11 +50,6 @@ 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 -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"
|
|
||||||
shell: pwsh
|
|
||||||
|
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
working-directory: pdf4qt
|
working-directory: pdf4qt
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
Loading…
Reference in New Issue