www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - [Semi-OT] Cross-Platform GitHub Action 0.3.0 - NetBSD

reply Jacob Carlborg <doob me.com> writes:


I would like to announce a new release of [Cross-Platform GitHub 
Action](https://github.com/marketplace/actions/cross-platform-action),
[0.3.0](https://github.com/cross-platform-actions/action/releases/tag/v0.3.0).

For those not familiar with this project, it provides a GitHub 
action for running GitHub Action workflows on multiple platforms. 
This includes platforms that GitHub Actions don't natively 
support (for more information see the original announcement of 
the project [1]).

The major new feature in this release is the support for a new 
platform: NetBSD. The only supported version so far is 9.2. Other 
minor features since the last announcement are support for 
FreeBSD 13 and OpenBSD 6.9.



For those interested in what's going on under the hood. This 
release contains some major refactoring to add support for the 
QEMU hypervisor. Up until now the xhyve hypervisor has been used 
for the FreeBSD and OpenBSD platforms. Unfortunately NetBSD 
doesn't run on the xhyve hypervisor, therefore support for QEMU 
was added. In this release it's only possible to run NetBSD on 
Linux hosts. The GitHub Linux runners doesn't support hardware 
accelerated nested virtualization. This unfortunately means that 
the QEMU hypervisor will be a bit slower than the xhyve 
hypervisor.

[1] 
https://forum.dlang.org/post/jhasyhuvcxoqhldlbebl forum.dlang.org
Nov 16 2021
next sibling parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Tuesday, 16 November 2021 at 13:34:49 UTC, Jacob Carlborg 
wrote:


 I would like to announce a new release of [Cross-Platform 
 GitHub 
 Action](https://github.com/marketplace/actions/cross-platform-action),
[0.3.0](https://github.com/cross-platform-actions/action/releases/tag/v0.3.0).

 [...]
Oh, nice to see support for FreeBSD. I just added a version for it in druntime 4 days ago. Now maybe we can test it lol
Nov 16 2021
parent reply Jacob Carlborg <doob me.com> writes:
On Tuesday, 16 November 2021 at 14:04:12 UTC, Imperatorn wrote:

 Oh, nice to see support for FreeBSD. I just added a version for 
 it in druntime 4 days ago. Now maybe we can test it lol
I can add older versions of FreeBSD (currently 12.2 and 13 are supported) if there's a need for that. /Jacob Carlborg
Nov 17 2021
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Wednesday, 17 November 2021 at 09:03:09 UTC, Jacob Carlborg 
wrote:
 On Tuesday, 16 November 2021 at 14:04:12 UTC, Imperatorn wrote:

 Oh, nice to see support for FreeBSD. I just added a version 
 for it in druntime 4 days ago. Now maybe we can test it lol
I can add older versions of FreeBSD (currently 12.2 and 13 are supported) if there's a need for that. /Jacob Carlborg
Thanks, currently I think it's enough with 12 and 13 tho, but ideally someone actively using FreeBSD (I'm not) could chime in on it.
Nov 17 2021
parent reply kinke <noone nowhere.com> writes:
On Wednesday, 17 November 2021 at 15:43:55 UTC, Imperatorn wrote:
 On Wednesday, 17 November 2021 at 09:03:09 UTC, Jacob Carlborg 
 wrote:
 On Tuesday, 16 November 2021 at 14:04:12 UTC, Imperatorn wrote:

 Oh, nice to see support for FreeBSD. I just added a version 
 for it in druntime 4 days ago. Now maybe we can test it lol
I can add older versions of FreeBSD (currently 12.2 and 13 are supported) if there's a need for that. /Jacob Carlborg
Thanks, currently I think it's enough with 12 and 13 tho, but ideally someone actively using FreeBSD (I'm not) could chime in on it.
FreeBSD has been CI-tested for years, if not decades; not just by autotester, but also by Cirrus CI, which provides 'native' FreeBSD VMs (with 4 CPU cores), incl. v11/12/13/14 images, see https://cirrus-ci.org/guide/FreeBSD/.
Nov 17 2021
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Wednesday, 17 November 2021 at 17:08:00 UTC, kinke wrote:
 On Wednesday, 17 November 2021 at 15:43:55 UTC, Imperatorn 
 wrote:
 On Wednesday, 17 November 2021 at 09:03:09 UTC, Jacob Carlborg 
 wrote:
 On Tuesday, 16 November 2021 at 14:04:12 UTC, Imperatorn 
 wrote:

 [...]
I can add older versions of FreeBSD (currently 12.2 and 13 are supported) if there's a need for that. /Jacob Carlborg
Thanks, currently I think it's enough with 12 and 13 tho, but ideally someone actively using FreeBSD (I'm not) could chime in on it.
FreeBSD has been CI-tested for years, if not decades; not just by autotester, but also by Cirrus CI, which provides 'native' FreeBSD VMs (with 4 CPU cores), incl. v11/12/13/14 images, see https://cirrus-ci.org/guide/FreeBSD/.
Oh, I just saw v12.2 or smth like that
Nov 17 2021
prev sibling parent reply Sebastiaan Koppe <mail skoppe.eu> writes:
On Tuesday, 16 November 2021 at 13:34:49 UTC, Jacob Carlborg 
wrote:


 I would like to announce a new release of [Cross-Platform 
 GitHub 
 Action](https://github.com/marketplace/actions/cross-platform-action),
[0.3.0](https://github.com/cross-platform-actions/action/releases/tag/v0.3.0).
I was reading https://github.com/marketplace/actions/cross-platform-action#under-the-hood and have to say I am impressed. Looks like a very well done library.
Nov 16 2021
parent Jacob Carlborg <doob me.com> writes:
On Tuesday, 16 November 2021 at 14:38:48 UTC, Sebastiaan Koppe 
wrote:

 I was reading 
 https://github.com/marketplace/actions/cross-platform-action#under-the-hood
and have to say I am impressed. Looks like a very well done library.
Thanks. Yeah, it turned out to be quite complex to support everything. Multiple platforms, multiple hypervisors, multiple hosts platforms etc. -- /Jacob Carlborg
Nov 17 2021