Comments (5)
It would be nice if we checked if skip: True was set for a platform as early as possible and terminate CI.
I agree. The point at which to detect might be at the conda smithy
level. That is, we simply don't register the non-windows feedstocks with AppVeyor. The biggest complication with that is when a recipe wants to become supported on windows, it is harder to test in a PR.
The more I think about it, the more I lean towards your suggestion - simply grep for the line:
skip: True # [win]
No need to complicate things.
@jakirkham - this would be a change to conda-smithy (https://github.com/conda-forge/conda-smithy/blob/master/conda_smithy/templates/appveyor.yml.tmpl#L49) (but could be tested in any non-Windows feedstock). Interested in having a go?
from staged-recipes.
I agree. The point at which to detect might be at the
conda smithy
level. That is, we simply don't > register the non-windows feedstocks with AppVeyor. The biggest complication with that is when a > recipe wants to become supported on windows, it is harder to test in a PR.The more I think about it, the more I lean towards your suggestion - simply grep for the line:
skip: True # [win]
No need to complicate things.
I would be ok with this if you could test PRs, but you're right. It is tricky. Though if you think of a way we could try, I'd be happy to work on it.
...this would be a change to conda-smithy...
Ah, so my thought was that it would also be useful to have these changes for staged-recipes too. Do they end up sharing this code?
Interested in having a go?
Sure, I'll try to come up with something.
from staged-recipes.
Thinking about this a little more, the earliest point that you know you can skip a build is after resolving dependencies (e.g. skip: True # [py34]
). For that reason, conda-smithy renders the build matrix appropriately. On Windows this results in an entirely empty matrix of builds on appveyor.yml
which prevents the build taking place altogether.
In short, other than doing the same thing on OSX and Linux, I don't think we can do an awful lot more than we are already.
from staged-recipes.
In short, other than doing the same thing on OSX and Linux, I don't think we can do an awful lot more than we are already.
Was just going through issues here and categorizing them. Yeah, I think I agree. We have done a lot in this direction through various PRs and tweaks. There are probably more optimizations we could find if we felt a need. Though I think we have largely resolved the need for any improvement in this area. So, I'm going to close this out.
from staged-recipes.
Just to update on this, we do now avoid matrix items which cannot be resolved (coming in conda-build-all 0.13), and avoid matrix items which are explicitly skipped.
We will have to watch out for the former, particularly when feedstocks are created alongside their dependencies at the same time (their CI will dodge the unresolvable matrix items).
from staged-recipes.
Related Issues (20)
- Package request: ctransformers
- Windows R builds fail to solve environments (ERROR: Failed to get install actions, max retries exceeded.) HOT 4
- Package request: yolov5 HOT 1
- Package request: Metal (C++ metaprogramming library)
- Gradle build fails with /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found
- Can we fully automate packages' new releases? HOT 3
- Package request: TensorRT HOT 4
- Package request: libdispatch
- Package request: pybind11_protobuf
- Package request: z3-solver
- Package request: PipeWire HOT 4
- Package request: lf
- Why python package execute failed at windows machine? HOT 2
- Package request: zenoh-related packages HOT 2
- Package request: mariadb
- packages targeting old perl versions
- Package request: warbleR
- Package request: markdonwlint-cli2
- Package request: Stempy
- Package request: X11 Utility Apps, X.Org Server, and Remaining X11 Libraries HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from staged-recipes.