Try the windows-2022 image on Azure, add some debug prints.

This commit is contained in:
Robin Dunn
2022-05-16 20:35:57 -07:00
parent d8a07a78a4
commit 9cd319734e
2 changed files with 11 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ jobs:
timeoutInMinutes: 90
displayName: 'Windows CI'
pool:
vmImage: 'windows-2019'
vmImage: 'windows-2022'
strategy:
matrix:
Py37_x86:

View File

@@ -804,6 +804,16 @@ def checkCompiler(quiet=False):
if not quiet:
msg(f"CL.exe: {CL}")
msg('include: ' + info.include)
msg('lib: ' + info.lib)
msg('libpath: ' + info.libpath)
for d in info.include.split(os.pathsep):
p = pathlib.Path(d, 'tchar.h')
if p.exists():
msg('tchar.h: ' + str(p))
break
# NOTE: SIP is now generating code with scoped-enums. Older linux
# platforms like what we're using for builds, and also TravisCI for