From 62357cf9cd0ce2d77583177fef8f6f28ee6e17ee Mon Sep 17 00:00:00 2001 From: Matthew Burket Date: Tue, 2 Jan 2024 16:24:23 -0600 Subject: [PATCH] Fix Windows Build --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 788e81aa24..e41aa131c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,7 +115,6 @@ jobs: runs-on: windows-latest env: VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" - VCPKG_DISABLE_METRICS: "true" steps: - name: Checkout uses: actions/checkout@v3 @@ -129,7 +128,7 @@ jobs: - name: Bootstrap vcpkg shell: pwsh - run: "${{ github.workspace }}/vcpkg/scipts/bootstrap.ps1" + run: "${{ github.workspace }}\\vcpkg\\scripts\\bootstrap.ps1 -disableMetrics" - name: Export GitHub Actions cache environment variables uses: actions/github-script@v7 @@ -139,14 +138,14 @@ jobs: core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); - name: Install Deps - run: vcpkg install curl libxml2 libxslt bzip2 pcre pthreads zlib getopt-win32 xmlsec + run: "${{ github.workspace }}\\vcpkg\\vcpkg.exe install curl libxml2 libxslt bzip2 pcre pthreads zlib getopt-win32 xmlsec dd --triplet x64-windows" - name: Configure working-directory: ./build run: cmake -DENABLE_PYTHON3=FALSE -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake .. - name: Build - run: cmake --build -j 2 + run: cmake --build -j 2 . working-directory: ./build - name: Package