From e41170c4c429eff0f5eb2b938729af56509cbd4f Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 2 Feb 2026 13:22:25 +0330 Subject: [PATCH] ci(amd64/msvc): source vsdevcmd.bat --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 67a8942..ceb17d3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,11 @@ steps: - name: unit tests shell: 'C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsDevCmd.bat' commands: - - ./tools/ci/amd64/msvc/unit_tests.ps1 + - powershell.exe -NoProfile -Command "& { + Import-Module 'C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll'; + Enter-VsDevShell 1a3e2aa7 -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -host_arch=x64'; + ./tools/ci/amd64/msvc/unit_tests.ps1 + }" --- kind: pipeline