Thread overview
[Semi-OT] Cross-Platform GitHub Action 0.3.0 - NetBSD
Nov 16, 2021
Jacob Carlborg
Nov 16, 2021
Imperatorn
Nov 17, 2021
Jacob Carlborg
Nov 17, 2021
Imperatorn
Nov 17, 2021
kinke
Nov 17, 2021
Imperatorn
Nov 16, 2021
Sebastiaan Koppe
Nov 17, 2021
Jacob Carlborg
November 16, 2021

Cross-Platform GitHub Action 0.3.0

I would like to announce a new release of Cross-Platform GitHub Action, 0.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.

Under the Hood

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

November 16, 2021

On Tuesday, 16 November 2021 at 13:34:49 UTC, Jacob Carlborg wrote:

>

Cross-Platform GitHub Action 0.3.0

I would like to announce a new release of Cross-Platform GitHub Action, 0.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

November 16, 2021

On Tuesday, 16 November 2021 at 13:34:49 UTC, Jacob Carlborg wrote:

>

Cross-Platform GitHub Action 0.3.0

I would like to announce a new release of Cross-Platform GitHub Action, 0.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.

November 17, 2021

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

November 17, 2021

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

November 17, 2021

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.

November 17, 2021

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/.

November 17, 2021

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