ensure that we have an import_std configuration in the test-set#637
ensure that we have an import_std configuration in the test-set#637burnpanck wants to merge 35 commits intompusz:masterfrom
Conversation
|
Ahh, I forgot to say that it also requires C++23+ to work 😢 Also, I do not know why a freestanding build failed. FYI, I am providing a 3-day training from today, so I may be less responsive than usual. |
|
I've just changed the CI scripts (but not the generator) to account for C++23. They should also check for something like |
|
the freestanding build failed because of an issue you seemed to have previously identified: In Debug builds, the CMakeCheckCompiler test fails due to a missing _main symbol. you had an "exclude" in the matrix, but "include" comes after, so we have to account for that in the generator. I forgot about that when I added that special "cxx_modules" subsample. |
|
I might try to merge freestanding with the hosted conan, making this just another dimension of the matrix. I'll also extract the cxx_modules into its own dimension, and ensure all the unsupported combinations are skipped. |
|
finally, I'll experiment with a truly random sample of configurations, together with a GitHub Actions "manual_trigger" with a user input to choose the random seed. I belive that should be possible. |
|
WOW! You are a true GitHub Actions Wizard! 😄 I would never come up with those solutions by myself. It is great to learn those things from you. Thanks! |
|
Also, it seems that there is some issue with |
|
Hi @burnpanck, will you have some time to look into it soon? |
|
I'l try to do it today. I would probably remove all logic affecting the settings of |
|
Sure, it sounds great. However, please be careful with the |
132a524 to
655f79d
Compare
…rator; also, select a random seed every time
655f79d to
bc440cc
Compare
That is a good thing. It means that we won't accidentally avoid testing mp-units/.github/generate-job-matrix.py Lines 55 to 72 in bc440cc Finally, as promised, I added changed the random seed to be truly random. It chosen seed is printed at the start of the "generate-matrix" job. I also added a |
|
I forgot to mention; the |
|
Oh, and the failed |
Thanks a lot! You are a true GitHub Actions wizard 🧙🏻 I wouldn't know how to do at least half of the things you contributed in the last few days. |
|
Thinking a bit more about |
|
@burnpanck, you have 5 open PRs. Do you plan to work on those soon? I would like to provide the next mp-units release soon. |
|
@mpusz: Unfortunately, I can't guarantee anything right now. I think most of my PRs were generally mergeable, but of course, now that time has passed, neither you nor I myself remember exactly what the last status was. This one here was ready except for your latest change requests, which do not appear too difficult to do. Maybe this weekend? |
mpusz
left a comment
There was a problem hiding this comment.
Thanks! Please let me know if you plan to work a bit more on this or if it should be merged?
…CMake issue with natural units
2fd779b to
d8d6994
Compare
|
I implemented the
With that, the full |
…ludes options beyond the toolchain
|
@mpusz I may need help to fix the remaining failing tests. I believe these aren't failures due to my changes, but simply issues being uncovered by the better test coverage. Specifically, I see two types of failures:
|
…TAL_CXX_IMPORT_STD
…ORT_STD accordingly
…_STD` Removed unused CMake version parsing and UUID import functions.
Instead of a fixed, hand-crafted list, the CI job matrix is now generated by a Python script. This allows to easily add new configurations and to sample a random subset of the full matrix for regular CI runs while keeping the option to run the full matrix. Based on PR #637 by @burnpanck (Yves Delley). Fixes applied on top of the original PR: - removed 'natural_units' from ConanOptions (dropped in conanfile.py) - fixed duplicate Apple Clang entry in toolchains dict - fixed dead code in Configuration.for_github() - ConanOptions fields are now exposed as top-level matrix properties enabling conditions like 'matrix.cxx_modules == True' in workflow YAML - removed Clang-18 Debug freestanding workaround (fixed upstream) - restored per-value counts in debug output
Closes #637 Co-authored-by: Yves Delley <burnpanck@users.noreply.github.com>
also, update flake8