From b2b93e21cad67c113edd8745615343c8026e2ad2 Mon Sep 17 00:00:00 2001 From: ananthu3375 <148377620+ananthu3375@users.noreply.github.com> Date: Wed, 31 Jul 2024 16:15:25 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da5aeadf..bb2240be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -227,8 +227,10 @@ jobs: choco install ninja choco install visualstudio2019buildtools --package-parameters "--includeRecommended --includeOptional" choco install visualstudio2019-workload-vctools - Start-Process -FilePath "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" -Wait - + $vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" + & $vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath | ForEach-Object { + & "$_\VC\Auxiliary\Build\vcvars64.bat" } + - name: Cleanup Conan system packages (they are not properly cached) run: | conan remove -f '*/system/*' || true