Commit Graph

43 Commits

Author SHA1 Message Date
Andrew Schwartzmeyer
ea5d5c3d05 Switch to netcoreapp1.0
Instead of using `dotnet publish`, we can use `dotnet build` and the new
`netcoreapp1.0` framework with a new dependency on
`Microsoft.NETCore.App` to generate output that does not include the
runtime, but can be run anywhere (given the installation of the
runtime).

While we cannot yet adopt a dependency on the shared host until .NET
Core RTM, we are forced to switch to this system anyway because the
latest RC3 packages and CLI do not support `netstandardapp1.5`. See
dotnet/cli#2482.

Thus we're in an in-between state where we have to use `netcoreapp1.0`,
but cannot use `"Microsoft.NETCore.App": { "type": "platform" }` to
utilize the shared host, as we need to continue to ship our host.
Without specifying "platform", we retain the status quo with respect to
build steps and outputs.

Additionally, there is no longer a good reason to use the RC3 packages,
and it has been advised we switch to RC2 since the
`Microsoft.NETCore.App` is only available for RC2. We must update
packages because our current version can no longer be debugged.
2016-04-25 14:01:44 -07:00
Sergei Vorobev
db674c7977 Add try-catch to on_finish section to prevent hang 2016-04-19 16:00:09 -07:00
Sergei Vorobev
d25cdffcfc Add $ErrorActionPreference = 'Stop' to fail the build 2016-04-19 15:51:54 -07:00
Andrew Schwartzmeyer
70f921e824 Update AppVeyor to use Start-PSBootstrap 2016-04-13 19:24:11 -07:00
Andrew Schwartzmeyer
ac157568d6 Publish on AppVeyor
So that the artifacts for Core PowerShell have the .NET Core
dependencies.
2016-04-08 16:25:53 -07:00
Andrew Schwartzmeyer
d7233fc4d0 Remove import of Platform module from AppVeyor 2016-04-08 16:25:53 -07:00
Andrew Schwartzmeyer
bfaad3f057 Programmatic update of core console host rename 2016-04-08 10:59:41 -07:00
Sergei Vorobev
2275048791 Disable AppVeyor cache 2016-04-04 11:25:22 -07:00
Andrew Schwartzmeyer
a6fd5c70d9 Fix FullCLR build script for build instead of publish 2016-04-01 23:10:34 -07:00
Andrew Schwartzmeyer
c66375e82d Fix paths for AppVeyor 2016-04-01 22:35:00 -07:00
Andrew Schwartzmeyer
5a1666c984 Fix programatic references to Linux.Host 2016-04-01 19:15:41 -07:00
Andrew Schwartzmeyer
9571b220b2 Initialize googletest submodule on Travis 2016-04-01 18:04:25 -07:00
Andrew Schwartzmeyer
2ddf3e9ff0 Bump .NET CLI version on AppVeyor 2016-04-01 16:52:14 -07:00
Sergei Vorobev
111b254f3d Remove psl-monad submodule
Fix #656
2016-03-30 20:01:05 -07:00
Andrew Schwartzmeyer
d5d0d29cf9 Fix use of install.ps1 on AppVeyor
Resolves #718.

The 1.0.0 builds are no longer in the "beta" channel.

Update version to 1888.
2016-03-21 14:31:41 -07:00
Sergei Vorobev
9091d58bb7 Set AppVeyor image to Visual Studio 2015 2016-03-15 13:22:47 -07:00
Andrew Schwartzmeyer
44a991c24d Upgrade CLI to build 1718
Per dotnet/cli#1783, this should resolve PowerShell/PowerShell#638.

Unfortunately, per dotnet/cli#1839, the Ubuntu package feed is
out-of-date. So now Travis and AppVeyor aren't quite in sync. This is
not great, but the Ubuntu version of CLI does not have the same
regression that the Windows version had.

The readme has been updated to note how to install an actually
up-to-date copy on Linux.
2016-03-14 10:49:31 -07:00
Sergei Vorobev
b126d698e2 Hide output of dotnet restore by default
Address Andy's comments about build script.
Add more information about the version into build
Use windows inbox version of pester for FullCLR
Revert dotnet cli to a known good version to avoid #638
2016-03-11 18:24:43 -08:00
Sergei Vorobev
b28d96d700 Incorporate build.FullCLR.ps1 in PowerShellGitHubDev.psm1
This commit fixes #652
2016-03-11 16:19:05 -08:00
Andrew Schwartzmeyer
7148cfc427 Print dotnet --version on AppVeyor 2016-03-09 14:26:19 -08:00
Andrew Schwartzmeyer
57181103cf Bump .NET CLI to build 1638 2016-03-07 14:17:31 -08:00
Andrew Schwartzmeyer
2fbc07fa72 Import Platform module on AppVeyor 2016-03-04 15:44:39 -08:00
Andrew Schwartzmeyer
aca021aaad Don't cache NuGet packages on AppVeyor
Because the resulting archive is too big, so AppVeyor wastes time making
it and testing it, and then refuses to upload it.
2016-03-03 13:57:31 -08:00
Andrew Schwartzmeyer
ee7ea8011d Bump CLI to 1.0.0.001598 2016-03-01 12:27:55 -08:00
Andrew Schwartzmeyer
a4ab3cc8b6 Bump CLI version to build 1540
Latest common build.
2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer
f18a3478da Cache CLI on AppVeyor 2016-02-26 11:36:42 -08:00
Andrew Schwartzmeyer
48237fef3d Cache ~/.nuget on AppVeyor 2016-02-26 11:21:50 -08:00
Sergei Vorobev
98a94683fd Fail appveyor build, if CoreCLR tests failed on windows 2016-02-25 23:48:06 -08:00
Andrew Schwartzmeyer
31624ebd89 Use Start-PSBuild on AppVeyor 2016-02-22 11:29:03 -08:00
Andrew Schwartzmeyer
de7b0eac08 Use deployed Pester module path instead of src 2016-02-22 11:29:03 -08:00
Andrew Schwartzmeyer
d3c6d274ed Fix capitalization of GitHub in dev module's name 2016-02-22 11:29:03 -08:00
Andrew Schwartzmeyer
5c0abec45b Pin CLI to 1.0.0.001425 and update readme 2016-02-18 10:06:56 -08:00
Andrew Schwartzmeyer
1436668fd1 Use CLI obtain script to install on AppVeyor 2016-02-17 14:20:15 -08:00
Sergei Vorobev
512c37431d Update appveyor.yml to import pester from the new location 2016-02-10 13:25:35 -08:00
Sergei Vorobev
f3f0886e75 Make appveyor fail if it cannot find test results 2016-02-10 13:16:22 -08:00
Andrew Schwartzmeyer
dacaebefb8 Move Pester to submodule to Host/Modules
This way it can also be deployed automatically, removing the last manual
copy steps from our build scripts.

Travis and AppVeyor configurations updated for new submodule location.
2016-02-10 12:58:56 -08:00
Sergei Vorobev
caea515a93 Publish AppVeyor artifacts on PRs
I originally used `deploy_script:` section for publishing artifacts.
This section is not invoked on Pull Requests.
Hence, use `on_finish` section instead, so we can consume artifacts from PRs as well.
2016-02-04 10:30:19 -08:00
Sergei Vorobev
4435699516 Fix quotes in appveyor.yml 2016-02-03 17:42:54 -08:00
Sergei Vorobev
2096bca2b8 Run FullCLR sanitary tests in AppVeyor
This change brings a very minimal set of tests and make
build fail, if we cannot load some PS assamblies on FullCLR

We should increase test coverage for FullCLR in future.
2016-02-03 17:29:27 -08:00
Andrew Schwartzmeyer
3d4509bef0 Add AppVeyor notifications to PSCore Slack #ci channel 2016-02-02 20:09:37 -08:00
Sergei Vorobev
b243976d1a Build Full and Core PowerShell on AppVeyor 2016-02-02 16:11:05 -08:00
Andrew Schwartzmeyer
ad064bf483 Use --noprofile for Pester tests 2016-02-01 13:12:29 -08:00
Sergei Vorobev
706048344f Add AppVeyor CI integration.
AppVeyor is a cloud-based CI platform for windows.
Use [skip ci] tag in any place of message to mark commit as trivial (i.e.
README.md changes).
2016-01-22 12:40:04 -08:00