From 991b875aba91aaa229ca163dc83b619f6f4e113f Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 2 Feb 2026 13:13:32 +0330 Subject: [PATCH] ci(amd64/msvc): source vsdevcmd.bat --- .drone.yml | 2 +- tools/ci/amd64/msvc/unit_tests.ps1 | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5c3c970..67a8942 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ platform: steps: - name: unit tests - shell: powershell + shell: 'C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsDevCmd.bat' commands: - ./tools/ci/amd64/msvc/unit_tests.ps1 diff --git a/tools/ci/amd64/msvc/unit_tests.ps1 b/tools/ci/amd64/msvc/unit_tests.ps1 index 23c72d1..e02c618 100644 --- a/tools/ci/amd64/msvc/unit_tests.ps1 +++ b/tools/ci/amd64/msvc/unit_tests.ps1 @@ -1,8 +1,5 @@ # @ref https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-by-category -# @todo(Light): Pull the path from an environment variable -cmd /c '"C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsDevCmd.bat" && powershell -NoProfile -Command "."' - if (Test-Path "./build") { Remove-Item "./build" -r -force }