tdegeus / GooseFEM

Several types of Finite Element simulations in C++ (with a Python interface)
http://goosefem.rtfd.io
GNU General Public License v3.0
9 stars 6 forks source link

[CI] Switching to micromamba #207

Closed tdegeus closed 3 years ago

wolfv commented 3 years ago

@tdegeus there is also a new secret trick for environment files:

you can use

- mydep
- sel(win): clang
- sel(unix): gcc

to use selectors and install certain dependencies only when some requirement is true. Only very simple conditions work currently (linux, unix, osx and win).

tdegeus commented 3 years ago

That is very nice @wolfv ! Is is mamba that does it, or is it also already integrated in conda?

wolfv commented 3 years ago

no, that's a micromamba specific feature that's currently in "beta" (i.e. undocumented).

tdegeus commented 3 years ago

@wolfv Is there a way to install from more than one environment variable? Suppose that I want to select the compiler just in the CI, and that I want to keep a more general enviroment.yaml that a user could use directly (even when not using mamba).

wolfv commented 3 years ago

Not yet. Could be interesting to think about it.