[CI] Don't test stuff which does not work due to static python (#38303)

opencv even has 
`message(WARNING "The python module is currently unsupported on Windows
when building static OpenCV libraries")`

In general static python builds don't support extensions on windows as
such a pyd build against a static python can never be used.
What would work -> static extensions linked into a final executable.

There is no proper way to deactivate extensions if python was statically
build on windows.

Two questions remain here:
Should python be build dynamically on windows for static triplets so
that we get a broader CI test? (maybe add a forbidden feature for only
windows&static which allows building the static python instead)
This commit is contained in:
Alexander Neumann 2024-04-23 21:21:24 +02:00 committed by GitHub
parent a59ba45e60
commit fbf65ac0aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -67,7 +67,7 @@
"features": [
"python"
],
"platform": "!uwp"
"platform": "!uwp & !(windows & static)"
}
]
}

View File

@ -13,7 +13,10 @@
"libraw",
"opencv",
"openjpeg",
"pybind11",
{
"name": "pybind11",
"platform": "!(windows & static)"
}
"tools",
"webp"
]