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 }