From 9cd319734ef4eb9269412024acb1f7db48dc52be Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 16 May 2022 20:35:57 -0700 Subject: [PATCH] Try the windows-2022 image on Azure, add some debug prints. --- .azure/ci-windows-job.yml | 2 +- build.py | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.azure/ci-windows-job.yml b/.azure/ci-windows-job.yml index 0b499362..301f9d4d 100644 --- a/.azure/ci-windows-job.yml +++ b/.azure/ci-windows-job.yml @@ -3,7 +3,7 @@ jobs: timeoutInMinutes: 90 displayName: 'Windows CI' pool: - vmImage: 'windows-2019' + vmImage: 'windows-2022' strategy: matrix: Py37_x86: diff --git a/build.py b/build.py index 4184ee78..74f39cbc 100755 --- a/build.py +++ b/build.py @@ -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