BenchmarkDotNet/build.ps1

91 строка
3.7 KiB
PowerShell
Исходник Обычный вид История

#!/usr/bin/env pwsh
$DotNetInstallerUri = 'https://dot.net/v1/dotnet-install.ps1';
$DotNetUnixInstallerUri = 'https://dot.net/v1/dotnet-install.sh'
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
$BuildPath = Join-Path $PSScriptRoot "build"
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
# Make sure tools folder exists
$ToolPath = Join-Path $PSScriptRoot "tools"
if (!(Test-Path $ToolPath)) {
Write-Verbose "Creating tools directory..."
New-Item -Path $ToolPath -Type Directory -Force | out-null
}
if ($PSVersionTable.PSEdition -ne 'Core') {
# Attempt to set highest encryption available for SecurityProtocol.
# PowerShell will not set this by default (until maybe .NET 4.6.x). This
# will typically produce a message for PowerShell v2 (just an info
# message though)
try {
# Set TLS 1.2 (3072), then TLS 1.1 (768), then TLS 1.0 (192), finally SSL 3.0 (48)
# Use integers because the enumeration values for TLS 1.2 and TLS 1.1 won't
# exist in .NET 4.0, even though they are addressable if .NET 4.5+ is
# installed (.NET 4.5 is an in-place upgrade).
[System.Net.ServicePointManager]::SecurityProtocol = 3072 -bor 768 -bor 192 -bor 48
} catch {
Write-Output 'Unable to set PowerShell to use TLS 1.2 and TLS 1.1 due to old .NET Framework installed. If you see underlying connection closed or trust errors, you may need to upgrade to .NET Framework 4.5+ and PowerShell v3'
}
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
}
###########################################################################
# INSTALL .NET CORE CLI
###########################################################################
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
$env:DOTNET_CLI_TELEMETRY_OPTOUT=1
$env:DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=2
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
Function Remove-PathVariable([string]$VariableToRemove)
{
$SplitChar = ';'
if ($IsMacOS -or $IsLinux) {
$SplitChar = ':'
}
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
$path = [Environment]::GetEnvironmentVariable("PATH", "User")
if ($path -ne $null)
{
$newItems = $path.Split($SplitChar, [StringSplitOptions]::RemoveEmptyEntries) | Where-Object { "$($_)" -inotlike $VariableToRemove }
[Environment]::SetEnvironmentVariable("PATH", [System.String]::Join($SplitChar, $newItems), "User")
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
}
$path = [Environment]::GetEnvironmentVariable("PATH", "Process")
if ($path -ne $null)
{
$newItems = $path.Split($SplitChar, [StringSplitOptions]::RemoveEmptyEntries) | Where-Object { "$($_)" -inotlike $VariableToRemove }
[Environment]::SetEnvironmentVariable("PATH", [System.String]::Join($SplitChar, $newItems), "Process")
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
}
}
$InstallPath = Join-Path $PSScriptRoot ".dotnet"
$GlobalJsonPath = Join-Path $BuildPath "global.json"
if (!(Test-Path $InstallPath)) {
New-Item -Path $InstallPath -ItemType Directory -Force | Out-Null;
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
}
if ($IsMacOS -or $IsLinux) {
$ScriptPath = Join-Path $InstallPath 'dotnet-install.sh'
(New-Object System.Net.WebClient).DownloadFile($DotNetUnixInstallerUri, $ScriptPath);
& bash $ScriptPath --jsonfile "$GlobalJsonPath" --install-dir "$InstallPath" --no-path
Remove-PathVariable "$InstallPath"
$env:PATH = "$($InstallPath):$env:PATH"
}
else {
$ScriptPath = Join-Path $InstallPath 'dotnet-install.ps1'
(New-Object System.Net.WebClient).DownloadFile($DotNetInstallerUri, $ScriptPath);
& $ScriptPath -JSonFile $GlobalJsonPath -InstallDir $InstallPath;
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
Remove-PathVariable "$InstallPath"
$env:PATH = "$InstallPath;$env:PATH"
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
}
$env:DOTNET_ROOT=$InstallPath
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
###########################################################################
# RUN BUILD SCRIPT
###########################################################################
& dotnet run --project build/Build.csproj -- $args
Cake (C# Make) integration. Migration from custom build scripts. (#475) * First version of new build approach with cakebuild * Remove some unused comments/splitters in cakebuild file * Change filter condition in cakebuild script * Split to fast and slow test categories * ! Disable slow tests for setting purposes. Add travis ci integration. Add cake bootstrapper script for Linux and OS X. * Turn on mono version to latest. Migrate from xbuild to msbuild on Linux / macOS. * Remove appveyor cache. Add condition to run a pack step only on CI * Add empty vbproj and temporary exclude previous one * Add hack to exclude vbproj from build process * Revert "Add empty vbproj and temporary exclude previous one" This reverts commit 9920cc01bf56ab2d066a1738bc03e396c782b435. * Add verbosity and fix syntax * Specify pack's step condition * Enable test run for slow tests. Disable linux on travis build * Only unit tests * SlowTests only on appveyor * Allow SlowTests on windows local build * New approach to remove and restore projects from solution file * Fix cakebuild error * Add linux as build platform * Turn off osx to debug linux * Try to hack msbuild on linux * Disable diagnostic mode and return back osx integration * Fix possible inconsistent state in case of build errors * [Fix] in MemoryDiagnoserTests to split full .net framework and netcoreapp. [Fix] in InProcessTests to avoid unhandled exception on netcoreapp target framework. Simplify buildcake steps. * Add missed namespace * Add required openssl installation step for travis CI * Revert back changes related to affinity's issue * Update build pipeline * Revert back InProcessTest * Prepare to pull request * Get rid of spaces * Ignore Pack step on pull request's build * Ignore Pack step on pull request's build * Preparation to upcoming updates to all Travis CI Ubuntu Trusty 14.04 images * Update version of CakeBuild tool. Introduce a SkipTests flag '--SkipTests=True' Allow to pack artifacts locally '-Target Pack` * Disable version number auto-increment on pull requests. Update fsharp project. * Update CakeBuild to 0.21.1 * Update 'Building' guide (add CakeBuild option)
2017-07-17 23:11:30 +03:00
exit $LASTEXITCODE;