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

Add FreeBSD Platform Detection #4312

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Thefrank
Copy link

Closes #4310

This PR adds FreeBSD as a detected platform to Cake. It also includes a platform test.

As .NET Standard does not support FreeBSD directly, and not to break .NET Standard compatibility, the function RuntimeInformation.IsOSPlatform(OSPlatform.Create()) is used.

After building I did find test failures that seem to originate from VerifyTests as it does not support FreeBSD either. I will open a PR at that repo to address it. Tests are attached below

Even after this, Cake will not dogfood under FreeBSD as the tool GitVersion uses Lib2GitSharp which consumes a NuGet made by https://github.com/libgit2/libgit2sharp.nativebinaries that does not include a FreeBSD library. GitVersion uses Cake to build.

Zip'd results using /logger:html for tests
results.zip

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.

Cake.Tool not working on FreeBSD
1 participant