Skip to content
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

Use the MSVC versions supported by each branch #157

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bensze01
Copy link
Contributor

@bensze01 bensze01 commented Feb 9, 2024

2.28 PRs test MSVC 2013, and nightlies test 2013, 2015 and 2017.

development PRs and nightlies only test MSVC 2017.

2.28 PRs test MSVC 2013, and nightlies test 2013, 2015 and 2017.

development PRs and nightlies only test MSVC 2017.

Signed-off-by: Bence Szépkúti <[email protected]>
} else {
vs_builds = ['2013', '2017']
if (env.MBED_TLS_BRANCH == 'mbedtls-2.28') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is MBED_TLS_BRANCH determined?

I fear that this approach will break if we make bugfix branches. Does it even work with security fixes that target mbedtls-2.28-restricted?

What we've done in the past was to read a file in the repository and base the testing on that. For example, at one point we had C89 branches tested with VS2010 and C99 branches tested with VS2013. See d4272ac and 5b1eb91.

By the way, that second commit suggests that we might need to change windows_testing.py too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants