Commit graph

102 commits

Author SHA1 Message Date
Dongbo Wang 8731747c3e Move to latest .NET Core and enable -SkipCertificateCheck on OSX (#3887) 2017-06-13 17:58:20 -07:00
Dongbo Wang a543161d42 Update docs for beta.2 release (#3922) 2017-06-02 14:17:27 -07:00
Dongbo Wang ee779b58e0 Update docs for beta.1 release (#3748)
* First iteration

* Second iteration

* Third iteration

* Fourth iteration

* Fifth iteration

* Revert the temporary workaround

* beta.1 release only support Mac OSX 10.12+
2017-05-10 09:49:02 -07:00
Dongbo Wang 1b16f77e21 Update powershell to use .NET Core 2.0.0-preview1-002106-00 (#3699)
Use 2.0 CLI/SDK of version `2.0.0-preview1-005952` to keep in sync with the .NET Core 2.0 //Build dogfood instructions. The version of `Microsoft.NetCore.App` in use is `2.0.0-preview1-002106-00`.
2017-05-04 17:09:03 -07:00
Dongbo Wang 7a55bf98b2 Move powershell to .NET Core 2.0 (#3556)
This change moves powershell to .NET Core 2.0. Major changes are:
1. PowerShell assemblies are now targeting `netcoreapp2.0`. We are using `microsoft.netcore.app-2.0.0-preview1-001913-00`, which is from dotnet-core build 4/4/17. We cannot target `netstandard2.0` because the packages `System.Reflection.Emit` and `System.Reflection.Emit.Lightweight`, which are needed for powershell class, cannot be referenced when targeting `netstandard2.0`.
2. Refactor code to remove most CLR stub types and extension types.
3. Update build scripts to enable CI builds. The `-cache` section is specified to depend on `appveyor.yml`, so the cache will be invalidated if `appveyor.yml` is changed.
4. Ship `netcoreapp` reference assemblies with powershell to fix the issues in `Add-Type` (#2764). By default `Add-Type` will reference all those reference assemblies when compiling C# code. If `-ReferenceAssembly` is specified, then we search reference assemblies first, then the framework runtime assemblies, and lastly the loaded assemblies (possibly a third-party one that was already loaded).
5. `dotnet publish` generates executable on Unix platforms, but doesn't set "x" permission and thus it cannot execute. Currently, the "x" permission is set in the build script, `dotnet/cli` issue [#6286](https://github.com/dotnet/cli/issues/6286) is tracking this.
6. Replace the use of some APIs with the ones that take `SecureString`.
7. osx.10.12 is required to update to `netcoreapp2.0` because `dotnet-cli` 2.0.0-preview only works on osx.10.12.
8. Add dependency to `System.ValueTuple` to work around a ambiguous type identity issue in coreclr. The issue is tracked by `dotnet/corefx` [#17797](https://github.com/dotnet/corefx/issues/17797). When moving to newer version of `netcoreapp2.0`, we need to verify if this dependency is still needed.
2017-04-17 11:52:38 -07:00
Dongbo Wang b5c1473484 Alpha.18 release doc updates (#3492) 2017-04-06 21:27:48 -07:00
Dongbo Wang 3a960db5b0 Update docs for alpha.17 release (#3298) 2017-03-10 11:32:19 -08:00
Dongbo Wang d60dc730a4 doc updates for release alpha.16 (#3160)
* doc changes for alpha.16 release

* update spelling ignore file for new release
2017-02-16 09:09:45 -08:00
Jason Shirk 3aeaeb06da cache packages in appveyor (#3019) 2017-01-26 11:34:39 -08:00
Jason Shirk (POWERSHELL) 4f02f48c69 Update links and docs for alpha.15 2017-01-18 15:09:50 -08:00
Jason Shirk (POWERSHELL) dd584a817a Update alpha.13 to alpha.14 2016-12-14 15:04:15 -08:00
Dongbo Wang 6f92140886 Add back -Configuration 'Release' to make sure AppVeyor CIs produce 'Release' bits (#2773) 2016-11-23 12:54:52 -08:00
Aditya Patwardhan ead4df4097 Moved publishing of code coverage artifacts to test_script phase (#2760)
* Moved publishing of code coverage artifacts to after_test phase

The webhook for build completion is called after the after_test phase
hence we needed to publish code coverage artifacts before that. Moved the
logic for compression and publish the artifacts after running tests.

* Added check for daily build

* Address code review comments.

* Addressed code review comments

Addressed comments about definition of artifacts.
Defined new function for after_test phase.
2016-11-23 12:22:18 -08:00
Dongbo Wang 581050ec43 Update docs with release alpha.13 (#2765)
* Update docs with release alpha.13
* Additional doc updates
* Update the 'Get PowerShell' table
2016-11-22 17:50:45 -08:00
Mike Richmond ea6cacafd7 Change log and 6.0.0-alpha.12 version number updates (#2593) 2016-11-03 14:23:05 -07:00
Dongbo Wang 289e6958ef Update docs/scripts to use the alpha.11 release packages (#2498) 2016-10-18 13:09:09 -07:00
Andrew Schwartzmeyer d264501f31 Update documentation names and links for alpha.10 2016-09-15 13:59:46 -07:00
Travis Plunk 89b3970cfa Added image requirement to appveyor.yml to make it easier to run on your own appveyor instance 2016-08-29 13:36:45 -07:00
Travis Plunk 6b994dbb2d Move the PowerShell code in appVeyor.yml to a module 2016-08-29 13:18:14 -07:00
Andrew Schwartzmeyer 7f63daafd9 Fix AppVeyor for public repo 2016-08-18 00:06:55 -07:00
Andrew Schwartzmeyer 1e265e915e Update links for alpha.9
Also adds the Windows 8.1 build to the readme, and bumps the AppVeyor
build number.
2016-08-16 14:43:34 -07:00
Travis Plunk 6c1224fb4b Merge pull request #1757 from TravisEz13/FixAppVeyorRelease
Made core build use release configuration
2016-08-12 13:02:34 -07:00
Travis Plunk 8233b5e332 Fix typo when getting Core build output location
Fail build if we fail to build PowerShell.exe before running tests
Fail build if we fail to push an artifact because it doesn't exist.
2016-08-12 12:35:46 -07:00
Travis Plunk 4ba6153c2a Update additional places build configuration needs to be specified 2016-08-12 12:26:05 -07:00
Travis Plunk 3a02842ecb Made core build use release configuration 2016-08-12 12:14:48 -07:00
Andrew Schwartzmeyer 6b4666ce36 Update AppVeyor build number to 6.0.0-alpha.8 2016-08-11 18:38:45 -07:00
Mike Richmond 33c1f2db23 Fixing execution policy so test automation works 2016-08-04 13:15:34 -07:00
Francisco Gamino c16209e39d Enable crossgen on CI 2016-08-03 13:12:51 -07:00
Sergei Vorobev 04c8cdbb20 Be smarter about nuget package names on appveyor 2016-08-02 14:48:46 -07:00
James Truher [MSFT] 3ecac72baf Merge pull request #1526 from PowerShell/jameswtruher/TagPesterTests
Jameswtruher/tag pester tests
2016-07-27 14:39:32 -07:00
Sergei Vorobev 70ff0cef19 Fix Start-DevPowerShell call from appveyor.yml 2016-07-27 12:19:17 -07:00
James Truher 5e61213be9 update appveyor.yml to check for bad test tags
add the function to check tags to build.psm1
rename the parser tests so they actually execute
2016-07-27 12:06:51 -07:00
James Truher 05d9fa07a9 Be sure to invoke only CI tests in AppVeyor 2016-07-27 12:06:51 -07:00
KarolKaczmarek 2405c65113 Merge pull request #1464 from PowerShell/kkaczma/mc
Fixing mc.exe detection and installing required tools in Start-PSBootstrap. Fixes #1451
2016-07-27 10:18:52 -07:00
Karol Kaczmarek 536085ea58 Not installing choco when prerequisites present and confirming before updating env variable 2016-07-25 13:55:33 -07:00
Raghu Shantha [MSFT] f25917d8d0 Generate consistent package names for various platforms 2016-07-22 10:35:51 -07:00
Travis Plunk a51618aa4c Removed test for appveyor.yml 2016-07-20 16:28:33 -07:00
Travis Plunk c69104a750 Made appveyor exclude 'slow' tests 2016-07-20 16:28:32 -07:00
Andrew Schwartzmeyer ea930d3346 Remove Slack CI notifications 2016-07-18 12:23:05 -07:00
Andrew Schwartzmeyer 281c7cf17a Fix AppVeyor version 2016-07-13 13:56:39 -07:00
Andrew Schwartzmeyer dd2f97c0aa Enable caching of dotnet and NuGet packages on CI 2016-07-13 13:56:25 -07:00
Sergei Vorobev df38b7c760 Fix Start-DevPowerShell call from appveyor 2016-07-01 13:16:53 -07:00
Sergei Vorobev 1a98407ee2 Fix Pester call for FullCLR from appveyor.yml 2016-07-01 13:16:52 -07:00
Sergei Vorobev 4af2815740 don't call specific submodules init in CI: get them all 2016-07-01 13:16:52 -07:00
Sergei Vorobev fca7c6e4bd Bump appveyor build version 2016-06-24 15:45:31 -07:00
Sergei Vorobev 963ce9c1ab Remove src/windows-build from CI builds 2016-06-20 14:40:29 -07:00
Andrew Schwartzmeyer e2d1089a08 Test import of cmdlet-example module on FullCLR PowerShell 2016-06-06 11:39:29 -07:00
Raghu Shantha [MSFT] 71a3681d3f Fix more typo in yml 2016-06-02 10:50:17 -07:00
Raghu Shantha [MSFT] a00e79ba82 Fix Appveyor yml parse issues - converted few more tabs to white spaces 2016-06-02 10:41:06 -07:00
Raghu Shantha [MSFT] de8a740955 Fix Appveyor yml parse issues 2016-06-02 10:37:16 -07:00