call vscmd during the script execution
This commit is contained in:
parent
3caa28dc2c
commit
edd0c10f10
2 changed files with 4 additions and 2 deletions
|
@ -14,12 +14,13 @@ if __name__ == '__main__':
|
||||||
'branch': 'main',
|
'branch': 'main',
|
||||||
'commit': '20ba079dda7be1a72d64cebc9f55d909bf29f6c1',
|
'commit': '20ba079dda7be1a72d64cebc9f55d909bf29f6c1',
|
||||||
'env': {
|
'env': {
|
||||||
#'ph_skip_linux': 'skip',
|
'ph_skip_linux': 'skip',
|
||||||
'ph_skip_generated': 'skip',
|
'ph_skip_generated': 'skip',
|
||||||
'ph_log_level': 'DEBUG',
|
'ph_log_level': 'DEBUG',
|
||||||
# 'ph_skip_windows': 'skip',
|
# 'ph_skip_windows': 'skip',
|
||||||
'ph_linux_agents': '{"queue": "linux-test"}',
|
'ph_linux_agents': '{"queue": "linux-test"}',
|
||||||
'ph_windows_agents': f'{{"queue": "windows-test"}}',
|
'ph_windows_agents': f'{{"name": "win-dev", "queue": "windows-test"}}',
|
||||||
|
'ph_scripts_refspec': 'windows-vscmd',
|
||||||
}})
|
}})
|
||||||
print(d)
|
print(d)
|
||||||
if (args.dryrun):
|
if (args.dryrun):
|
||||||
|
|
|
@ -131,6 +131,7 @@ def generic_windows(projects: str) -> List:
|
||||||
'commands': [
|
'commands': [
|
||||||
clear_sccache if no_cache else '',
|
clear_sccache if no_cache else '',
|
||||||
'sccache --zero-stats',
|
'sccache --zero-stats',
|
||||||
|
'C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64',
|
||||||
*checkout_scripts('windows', scripts_refspec),
|
*checkout_scripts('windows', scripts_refspec),
|
||||||
'pip install -q -r ./mlir/python/requirements.txt',
|
'pip install -q -r ./mlir/python/requirements.txt',
|
||||||
'powershell -command "'
|
'powershell -command "'
|
||||||
|
|
Loading…
Reference in a new issue