Merge pull request #1571 from PowerShell/frangom/crossgen

Enable crossgen for PowerShell binaries on Windows and Linux
This commit is contained in:
Sergei Vorobev authored and GitHub committed 2016-08-03 14:15:37 -07:00
commit 13b2da52fb
4 files changed
+342 -284

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ build_script:
$result.Warnings
throw "Tags must be CI, Feature, Scenario, or Slow"
}
Start-PSBuild -Publish
Start-PSBuild -CrossGen
Start-PSBuild -FullCLR
test_script:
+312 -271
View File
File diff suppressed because it is too large. Load diff
@@ -147,26 +147,43 @@
<Compile Include="commands\utility\UtilityCommon.cs" />
<Compile Include="commands\utility\Var.cs" />
<Compile Include="commands\utility\WaitEventCommand.cs" />
<Compile Include="commands\utility\WebCmdlet\BasicHtmlWebResponseObject.cs" />
<Compile Include="commands\utility\WebCmdlet\ContentHelper.cs" />
<Compile Include="commands\utility\WebCmdlet\Common\BasicHtmlWebResponseObject.Common.cs" />
<Compile Include="commands\utility\WebCmdlet\Common\ContentHelper.Common.cs" />
<Compile Include="commands\utility\WebCmdlet\Common\HtmlWebResponseObject.Common.cs" />
<Compile Include="commands\utility\WebCmdlet\Common\InvokeRestMethodCommand.Common.cs" />
<Compile Include="commands\utility\WebCmdlet\Common\WebRequestPSCmdlet.Common.cs" />
<Compile Include="commands\utility\WebCmdlet\Common\WebResponseObject.Common.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\BasicHtmlWebResponseObject.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\ContentHelper.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\HtmlWebResponseObject.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\HttpKnownHeaderNames.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\InvokeRestMethodCommand.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\InvokeWebRequestCommand.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\WebProxy.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\WebRequestPSCmdlet.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\WebResponseHelper.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\WebResponseObject.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\CoreCLR\WebResponseObjectFactory.CoreClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\BasicHtmlWebResponseObject.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\ContentHelper.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\HtmlWebResponseObject.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\InvokeRestMethodCommand.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\InvokeWebRequestCommand.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\JsonObjectTypeResolver.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\WebRequestPSCmdlet.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\WebResponseHelper.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\WebResponseObject.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\FullClr\WebResponseObjectFactory.FullClr.cs" />
<Compile Include="commands\utility\WebCmdlet\ConvertFromJsonCommand.cs" />
<Compile Include="commands\utility\WebCmdlet\ConvertToJsonCommand.cs" />
<Compile Include="commands\utility\WebCmdlet\FormObject.cs" />
<Compile Include="commands\utility\WebCmdlet\FormObjectCollection.cs" />
<Compile Include="commands\utility\WebCmdlet\HtmlWebResponseObject.cs" />
<Compile Include="commands\utility\WebCmdlet\InvokeRestMethodCommand.cs" />
<Compile Include="commands\utility\WebCmdlet\InvokeWebRequestCommand.cs" />
<Compile Include="commands\utility\WebCmdlet\JsonObject.cs" />
<Compile Include="commands\utility\WebCmdlet\JsonObjectTypeResolver.cs" />
<Compile Include="commands\utility\WebCmdlet\PSUserAgent.cs" />
<Compile Include="commands\utility\WebCmdlet\StreamHelper.cs" />
<Compile Include="commands\utility\WebCmdlet\WebCmdletElementCollection.cs" />
<Compile Include="commands\utility\WebCmdlet\WebRequestMethod.cs" />
<Compile Include="commands\utility\WebCmdlet\WebRequestPSCmdlet.cs" />
<Compile Include="commands\utility\WebCmdlet\WebRequestSession.cs" />
<Compile Include="commands\utility\WebCmdlet\WebResponseHelper.cs" />
<Compile Include="commands\utility\WebCmdlet\WebResponseObject.cs" />
<Compile Include="commands\utility\WebCmdlet\WebResponseObjectFactory.cs" />
<Compile Include="commands\utility\Write-Object.cs" />
<Compile Include="commands\utility\write.cs" />
<Compile Include="commands\utility\WriteAliasCommandBase.cs" />
+2 -2
View File
@@ -1,7 +1,7 @@
ulimit -n 4096
# Only build packages for branches, not pull requests
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -Publish; Start-PSPackage; Start-PSPester; Start-PSxUnit"
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -CrossGen; Start-PSPackage; Start-PSPester; Start-PSxUnit"
else
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap; Start-PSBuild; Start-PSPester; Start-PSxUnit"
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap; Start-PSBuild -CrossGen; Start-PSPester; Start-PSxUnit"
fi