Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Facilitate usage of custom VM #505

Open
LinqLover opened this issue Mar 24, 2021 · 2 comments
Open

Feature Request: Facilitate usage of custom VM #505

LinqLover opened this issue Mar 24, 2021 · 2 comments

Comments

@LinqLover
Copy link
Collaborator

Because of a small bug in OSVM that has been fixed very recently only, I would like to use a newer VM in my CI job.
However, iiuc, at the moment I would need to manually download the relevant OSVM version to use it in my CI runs.
It would be great if we had some more convenient arguments here, e.g. --vm-version=202003021730 or --vm-version=osvm-202003021730 (to be honest, I do not know if smalltalkCI also supports other VMs next to OSVM). smalltalkCI could then handle download and preparation of the binaries (if necessary) itself.

@fniephaus
Copy link
Member

fniephaus commented Mar 25, 2021

This is related to #2 and I understand why you'd want to be able to select a specific VM. At the moment, smalltalkCI only supports the --vm flag, which instructs it to use the provided VM. You'd need to download and extract the VM yourself.
The first problem is that different dialects use different VMs from different places. The second problem, with regard to Squeak, is that OpenSmalltalkVM doesn't follow a release schedule. WRT OpenSmalltalkVM, the third problem is that binaries on Bintray are not persistent, plus the Bintray service has been deprecated.

By the way, the same is true for Squeak trunk builds. They are not persistent, which is why there's no way to select a specific trunk image.

Building convenient helpers for all of this is possible. However, there's going to be more that needs to be maintained and at the moment, I'm afraid we don't have the resources to maintain something like this within smalltalkCI.

@LinqLover
Copy link
Collaborator Author

A simple utility would be this:

smalltalkci --vm https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/202112201228/squeak.cog.spur_linux64x64.tar.gz

For now, I will implement the download and unpacking myself. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants