Skip to content

Commit

Permalink
try to use vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien Givors committed Jan 18, 2023
1 parent 6f4e09f commit 1059571
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,17 +158,16 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- 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
Expand Down

0 comments on commit 1059571

Please sign in to comment.