gap-actions / setup-gap

Other
1 stars 5 forks source link

Support using GAP releases instead of branch snapshots #24

Open fingolfin opened 3 years ago

fingolfin commented 3 years ago

Right now, we install GAP always from git; to test against e.g. 4.10, we use the stable-4.10 branch.

But it would be useful to (also?) be able to test against actual releases, such as 4.10.2 or 4.9.3. One important difference is that GAPInfo.Version is set correctly there (in git build, it is always 4.dev or something like that, which means version checks in code don't work).

Ideally, the user would be able to either specify "4.10" (and then gets whatever the latest 4.10.x is) or even a specific version like "4.10.2" (however, this later point is less important).

olexandr-konovalov commented 3 years ago

Note this:

gap> GAPInfo.Version;
"4.11.1"
gap> GAPInfo.Version:="4.10.1";
"4.10.1"
gap> GAPInfo.Version;
"4.10.1"
fingolfin commented 2 years ago

Doing this shouldn't be too hard either:

That should be most of it.

Of course if we were to switch to docker images (see also issue #16) this may become moot, but unless someone actively works on that, I don't see why we shouldn't try the above (or a variation thereof)