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
1cbadef7ba
commit
730f008c67
2 changed files with 6 additions and 6 deletions
|
|
@ -13,13 +13,9 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: unit tests
|
||||
shell: 'C:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsDevCmd.bat'
|
||||
shell: powershell
|
||||
commands:
|
||||
- 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
|
||||
}"
|
||||
- ./tools/ci/amd64/msvc/unit_tests.ps1
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
# @ref https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-by-category
|
||||
|
||||
# @todo(Light): fetch path and uuid from environment
|
||||
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'
|
||||
|
||||
if (Test-Path "./build") {
|
||||
Remove-Item "./build" -r -force
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue