-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Move visual studio tests from per-release to per-PR #2845
Conversation
Let's see after #2846 . |
81ecfdc
to
86fa3ee
Compare
I've reduced the length of the tests, and also removed the VS 2013 test, so now we only have a VS 2012 test (having both seems redundant). So now, we test VS 2012, 2015, and 2019 - which seems like good enough coverage. Looking at |
420191b
to
6d9f6c6
Compare
d5bc812
to
45814df
Compare
It seems I don't see any Appveyor test running ? |
45814df
to
8d16efb
Compare
8d16efb
to
20660a0
Compare
Not sure what happened there, but I re-force pushed and it seems to have run and passed this time. |
Though, I will say that the Release builds take 15-20mins each to build, which is about 10x as long as the GH Actions release builds take. But there's no way to migrate these off of Appveyor, since GH Actions doesn't have MSVC 2012. The options appear to be 1) eat this 40m appveyor cost or 2) Drop the 2012 release builds entirely as not much seems to still support MSVC 2012. (and moving these 2012 release builds to per-release brings us back to the original issue, so it's a non-option). |
Indeed, Appveyor tests are now at 38mn (!), In details, I notice that Maybe we should reduce the scope of |
It's probably good to still have a few runtime tests for windows. It will be better to remove these from Appveyor, and add a new long GH actions test that runs the useful ones (some of these tests look not very useful). |
e894529
to
a6af0ca
Compare
a6af0ca
to
0907ab5
Compare
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.
With latest decrease to test durations, with Release
runtime tests in the ~2mn range, I believe this PR looks in good enough shape.
Tests for visual studio 2008, 2010, 2012, and 2013 on appveyor were running only on the
release
branch. Github Actions only supports Visual Studio 2015 and beyond, so we have to preserve these tests.This moves over the tests to run on branches against
dev
, and removes 2008 and 2010 tests, since those would exceed the previously discussed 10-year time window for compiler support.Note that these Visual Studio build tests seem to complain more than the Github Actions ones, picking up on an unused local function issue, since Visual Studio doesn't have an equivalent of
__attribute__(unused)
.This should get merged after #2846