Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
using Serilog;
using static Nuke.Common.Tools.DotNet.DotNetTasks;

// macOS build agents are persistent (non-ephemeral), so compiler server processes may need to be cleaned up between builds.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Other agents are ephemeral so we wont need this on them.

Also we don't do this on octopus.

#if MACOS
[ShutdownDotNetAfterServerBuild]
#endif
partial class Build : NukeBuild
{
/// Support plugins are available for:
Expand Down
1 change: 1 addition & 0 deletions build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<NukeScriptDirectory>..</NukeScriptDirectory>
<NukeTelemetryVersion>1</NukeTelemetryVersion>
<Nullable>enable</Nullable>
<DefineConstants Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(DefineConstants);MACOS</DefineConstants>
</PropertyGroup>

<ItemGroup>
Expand Down