From 50093b202a06d886276f8d04c25f3a2dc4640aa2 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 14 Apr 2016 11:25:09 -0700 Subject: [PATCH] Update documentation for OS X testing Copy the Travis CI badge for 10.11. It is the same badge, but it will fail if the build fails. I don't see a way to have separate badges, but this highlights that the platform is being tested. --- README.md | 1 + docs/building/osx.md | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 22c7170827..6f099ca5cf 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Build Status | Platform | `master` | |--------------|----------| | Ubuntu 14.04 | [![Build Status](https://travis-ci.com/PowerShell/PowerShell.svg?token=31YifM4jfyVpBmEGitCm&branch=master)](https://travis-ci.com/PowerShell/PowerShell) | +| OS X 10.11 | [![Build Status](https://travis-ci.com/PowerShell/PowerShell.svg?token=31YifM4jfyVpBmEGitCm&branch=master)](https://travis-ci.com/PowerShell/PowerShell) | | Windows | [![Build status](https://ci.appveyor.com/api/projects/status/wb0a0apbn4aiccp1/branch/master?svg=true)](https://ci.appveyor.com/project/PowerShell/powershell-linux/branch/master) | Get PowerShell diff --git a/docs/building/osx.md b/docs/building/osx.md index e08ba59b88..d1c151ee25 100644 --- a/docs/building/osx.md +++ b/docs/building/osx.md @@ -4,8 +4,10 @@ Build PowerShell on OS X This guide supplements the [Linux instructions](./linux.md), as building on OS X is almost identical. -Please keep in mind that we do not yet routinely test on OS X, but -some developers use PowerShell on 10.10 and 10.11. +.NET Core (and by transitivity, us) only supports OS X 10.11, per +CoreFX issue #[7731][]. + +[7731]: https://github.com/dotnet/corefx/issues/7731 Environment =========== @@ -25,6 +27,18 @@ Please heed that last step. You may want to add the .NET CLI tool location to your path more permanently by adding it to your shell's profile. +error: Too many open files +-------------------------- + +Due to a [bug][809] in NuGet, the `dotnet restore` command will fail +without the limit increased. Run `ulimit -n 2048` to fix this in your +session; add it your shell's profile to fix it permanently. + +We cannot do this for you in in the build module due to #[847][]. + +[809]: https://github.com/dotnet/cli/issues/809 +[847]: https://github.com/PowerShell/PowerShell/issues/847 + Build using our module ======================