ci(amd64/msvc): source vsdevcmd.bat
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
6e783e1626
commit
991b875aba
2 changed files with 1 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: unit tests
|
- name: unit tests
|
||||||
shell: powershell
|
shell: 'C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsDevCmd.bat'
|
||||||
commands:
|
commands:
|
||||||
- ./tools/ci/amd64/msvc/unit_tests.ps1
|
- ./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
|
# @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") {
|
if (Test-Path "./build") {
|
||||||
Remove-Item "./build" -r -force
|
Remove-Item "./build" -r -force
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue