Make sure there executable is named the same on all three OSes
this allows it to be called with `python` simplifying GH Actions
steps. So I don't have to add exceptions based on the OS
in the runner Matrix
Contributes to CURA-9365
Apparently it was a problem referring to `os` and `os_build`
in the jinja template later on, since those values were determined
on the fly as well
Contributes to CURA-9365
It should now be able to also create a venv with another interpreter.
Provided it is installed next to the current interpreter on the same
base Path.
Trying to make execution of the run commands robust on Windows, till no
avail. It states:
```powershell
----Running------
> C:\'Program Files'\Python310\python.exe -m venv venv
-----------------
'C:\'Program' is not recognized as an internal or external command,
operable program or batch file.
```
But if I run the ` C:\'Program Files'\Python310\python.exe -m venv venv`
in the same shell manually it executes correctly.
Contributes to CURA-9365
The generators will create GitHub Actions scripts which will set
the environment for the next steps.
Usage as follows in the commandline:
```yml
- name: Conan install
run: conan install . -g GitHubActionsVirtualRunEnv
- name: Activate env
run: <conan_generator_dir>/activate_github_actions_runenv.sh
- name:
run: echo $PATH
```
Contributes to CURA-9177_Fix_CI_CD
This generator can be used from the commandline as:
`conan install . -g VirtualPythonEnv`
It will then create a virtual environment in the build folder based on
the sys interpreter of a specified interpreter in the conanfile
The venv can be activated as normal
Contributes to CURA-9177_Fix_CI_CD
- Switched to C++20 (I think we can get away with this and it will
open-up a world of possibilities
- use full_recipe_mode to distinguse between different user/channel
Contributes to CURA-9177
This commit also adds a remote artifactory server which is
currently a private personal server and just for tryouts.
This needs to change in due time to an UM managed server.
Either in the cloud or on a VM.
There are three profiles added to the configuration. All
of them depend on the default autodetected profile.
This default profile can be created using the command
`conan profile new --detect default`
The configuration as whole can be installed with the command:
`conan config install https://github.com/ultimaker/conan-config.git`
Contributes to CURA-8785