-
Notifications
You must be signed in to change notification settings - Fork 30
Disable Windows tests using legacy build systems if they are not supported by the tested branch #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Windows tests using legacy build systems if they are not supported by the tested branch #219
Changes from 2 commits
37a3f76
bd68ee8
06b4367
5342e0f
f9af8e2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -321,14 +321,15 @@ def gen_windows_testing_job(BranchInfo info, String toolchain) { | |
def prefix = "${info.prefix}Windows-${toolchain}" | ||
def build_configs, arches, build_systems, retargeted | ||
if (toolchain == 'mingw') { | ||
assert info.supports_legacy_build_systems | ||
|
||
build_configs = ['mingw'] | ||
arches = ['x64'] | ||
build_systems = ['shipped'] | ||
retargeted = [false] | ||
} else { | ||
build_configs = ['Release', 'Debug'] | ||
arches = ['Win32', 'x64'] | ||
build_systems = ['shipped', 'cmake'] | ||
build_systems = info.supports_legacy_build_systems ? ['shipped', 'cmake'] : ['cmake'] | ||
retargeted = [false, true] | ||
} | ||
|
||
|
@@ -446,9 +447,12 @@ def gen_windows_jobs(BranchInfo info) { | |
info, info.prefix + 'win32-msvc15_64', | ||
preamble + scripts.win32_msvc15_64_test_bat | ||
) | ||
for (build in common.get_supported_windows_builds()) { | ||
for (build in info.supported_vs_versions) { | ||
jobs = jobs + gen_windows_testing_job(info, build) | ||
} | ||
if (info.supports_legacy_build_systems) { | ||
jobs = jobs + gen_windows_testing_job(info, 'mingw') | ||
} | ||
return jobs | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this PR we are removing the windows jobs that uses the makefile and MS Visual Studio files to build the library and the tests. Thus we need to remove the generation of MS Visual Studio files in mbedtls. This is done now in Mbed-TLS/mbedtls#10382. I think it would then be better to check here for the presence of the directory
visualc/VS2017
directory to check if we run or not the jobs using the MS Visual Studio files.