-
Notifications
You must be signed in to change notification settings - Fork 95
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
CI tests for generator component are missing #138
Comments
@iakov - are you planning to make a PR for this, or should someone else look at it? |
@YuriUfimtsev is "the chosen one". This is the issue for him, he knows, we've discussed this in person. |
Partially done and merged: 6d90f6c |
Probably, |
Yes, this is the hope... let's wait and see, hopefully that branch will be merged soon. |
I had switched on As for the other other goals: there is currently the "Check generated_cpp" build job that runs for Qt 5.12, 5.15 and 6.5, for ubuntu and Windows (MSVC). We also may add Macos builds here, and if needed more versions. We could also change the existing jobs to compile the generated sources, and consolidated the existing tests. Here is a list of the versions currently tested in CI for reference: Build
Check generated
As for the last point (compare generated files with checked in generated) - I'm not sure how helpful that would be, given that the checked in generated files are a snapshot of a specific Qt version, and APIs tend to change in Qt also in different patch releases. As I wrote elsewhere, we are now generating the sources ourselves and don't rely on the checked-in code, but I see that it can be helpful to have the sources already checked in. I'm trying to wrap up a bit before a Qt 5.15 / 6.5 release soon to come, thus my ramblings... |
Yes, a bit more refactoring work and I will open PR that decreases almost all memory leaks in the generator. I will do it today or tomorrow :) |
It seems Rocky Linux 9.3 has Python 3.11 as optional install. Would be cool to have an alternative rockylinyx 9 with Python 3.11 in matrix. We plan to offer support for both Python 3.9 and 3.11 on Rocky Linux 9 in our product. |
@YuriUfimtsev - what's the state here? Is there something left to do? |
@mrbean-bremen : Yes, we are still using/supporting both Python 3.9 and Python 3.11 on Rocky Linux 9 as both Python versions are supported with 3.9 being default. Is it just to update the build matrix? Is there an image/container available with Rock9+3.11? |
I actually have no idea, but the build should be probably similar to the current CentOS build. I have no experience there, so I thought it would be better done by somebody actually knowing the stuff :) |
Missing test for generator, but definitely some regression tests are required. I suggest implementing the following simple steps.
ASAN_OPTIONS="detect_stack_use_after_return=1:fast_unwind_on_malloc=0"
generated_cpp
sources with the currently usedgenerated_cpp_XXX
to enforce the regular update.The last one should be done after the fixes in generator for the known non-determinism.
The text was updated successfully, but these errors were encountered: