From 1059571c06f0d1bc82b71120fce5abd2825a8bc2 Mon Sep 17 00:00:00 2001 From: Fabien Givors Date: Wed, 18 Jan 2023 21:50:53 +0100 Subject: [PATCH] try to use vcpkg --- .github/workflows/build.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6cdbac9..cd9e5634 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -158,17 +158,16 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v2.0.0 - - name: Install dependencies - uses: lukka/run-vcpkg@v4 + uses: actions/checkout@v3 + - uses: lukka/get-cmake@latest + - name: Setup vcpkg + uses: lukka/run-vcpkg@v10 with: - vcpkgDirectory: ${{ github.workspace }}/vcpkg - vcpkgArguments: fluidsynth qt5-base qt5-tools freetype ftgl vcpkgGitUrl: 'https://github.com/microsoft/vcpkg.git' - vcpkgGitCommitId: '56fffbe49dfb4dd8fae0940f272c5fd2b86be991' - vcpkgTriplet: x64-windows + vcpkgGitCommitId: e1934f4a2a0c58bb75099d89ed980832379907fa - name: run: | + vcpkg install fluidsynth qt5-base qt5-tools freetype ftgl mkdir build cd build cmake .. -DWITH_INTERNAL_FLUIDSYNTH=OFF -DCMAKE_TOOLCHAIN_FILE="${GITHUB_WORKSPACE}"/vcpkg/scripts/buildsystems/vcpkg.cmake -DQT_PACKAGE_NAME=Qt5