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

Build containerd/continuity on multiple Unix OSes #190

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

kzys
Copy link
Member

@kzys kzys commented Dec 3, 2021

While the .go files have multiple build tags, they haven't been tested on
GitHub Actions except for FreeBSD.

This change also fixes #183.

Signed-off-by: Kazuyoshi Kato katokazu@amazon.com

@kzys kzys force-pushed the netbsd branch 3 times, most recently from a9dc5a3 to cb048fa Compare December 3, 2021 20:05
@kzys kzys marked this pull request as draft December 3, 2021 20:06
@kzys kzys force-pushed the netbsd branch 4 times, most recently from 170de5a to fbb2850 Compare December 3, 2021 20:19
@kzys kzys changed the title Make this project buildable on NetBSD Build containerd/continuity on multiple Unix OSes Dec 3, 2021
@kzys kzys force-pushed the netbsd branch 5 times, most recently from 6c8ca0e to 0261229 Compare December 3, 2021 21:17
While the .go files have multiple build tags, they haven't been tested on
GitHub Actions except for FreeBSD.

This change also fixes containerd#183.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
@samuelkarp
Copy link
Member

Other than just cross-compiling, have we done any testing on those other operating systems? (In other words: should we include build tags and thus "support" for an operating system that is not tested?)

@kzys
Copy link
Member Author

kzys commented Dec 6, 2021

No. We technically could use GitHub Actions' macOS builder to run VirtualBox (like we do in containerd), but I haven't tried that yet.

I still think this is better than what we have today. We have a bunch of build tags but the combinations are not really tested.

@samuelkarp
Copy link
Member

I was going to say that it looks like openbsd and netbsd are new additions and maybe we should let compilation fail, but I see in #183 that @AkihiroSuda is trying to use continuity on netbsd already.

Looks like there's already a note in the readme about support, so I think this is fine.

@kzys
Copy link
Member Author

kzys commented Dec 16, 2021

@estesp Can you take a look? This should be okay to merge LGTM-wise.

Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit e56e17d into containerd:main Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support GOOS=netbsd
4 participants