1
0
Fork 0

call vscmd during the script execution

This commit is contained in:
Mikhail Goncharov 2022-12-08 11:29:46 +01:00
parent 3caa28dc2c
commit edd0c10f10
2 changed files with 4 additions and 2 deletions

View file

@ -14,12 +14,13 @@ if __name__ == '__main__':
'branch': 'main',
'commit': '20ba079dda7be1a72d64cebc9f55d909bf29f6c1',
'env': {
#'ph_skip_linux': 'skip',
'ph_skip_linux': 'skip',
'ph_skip_generated': 'skip',
'ph_log_level': 'DEBUG',
# 'ph_skip_windows': 'skip',
'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)
if (args.dryrun):

View file

@ -131,6 +131,7 @@ def generic_windows(projects: str) -> List:
'commands': [
clear_sccache if no_cache else '',
'sccache --zero-stats',
'C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64',
*checkout_scripts('windows', scripts_refspec),
'pip install -q -r ./mlir/python/requirements.txt',
'powershell -command "'