Commit graph

527 commits

Author SHA1 Message Date
Steve Lee b7cb335f03
Update copyright notice to latest guidance (#12190) 2020-03-24 11:08:37 -07:00
Travis Plunk 5309774403
Disable x86 pdb generation (#12167) 2020-03-20 13:54:39 -07:00
Travis Plunk 3ab605aeec
Create crossgen symbols for Windows x64 and x86 (#12157) 2020-03-19 17:24:27 -07:00
Steve Lee 495dea0783
Move to .NET 5 preview.1 (#12140) 2020-03-19 11:27:13 -07:00
Paul Higinbotham 5f46605a21
Add Ubuntu SSH remoting tests CI (#12033)
* Add SSH remoting CI

* Fix typo

* Add install git to Ubuntu CI

* Update .vsts-ci/sshremoting-tests.yml

Co-Authored-By: Aditya Patwardhan <adityap@microsoft.com>

* Fix install git 1

* Add missing tools module import

* Change ubuntu service restart

* Update ssh install

* fix module path

* fix module path

* change module import

* Add tracing

* Add service start retry

* Fix service restart

* Fix options restore

* Fix Restore-PSOptions path

* Fix Pester test output

* fix typo

* Fix test output path

* Debug 1

* Debug 2

* Debug 3

* Change results path

* Fix result publish to use build artifacts directory

* Add more New-PSSession tests

* Remove User test

* Remove env:USER

* Add API tests

* Fix type for Subsytem API test

* Update .vsts-ci/sshremoting-tests.yml

Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>

* Update .vsts-ci/sshremoting-tests.yml

Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>

* Update .vsts-ci/sshremoting-tests.yml

Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>

* Apply suggestions from code review

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2020-03-11 14:45:14 -07:00
Aditya Patwardhan 91c9be996a
Ignore last exit code in the build step as dotnet may return error when SDK is not installed (#11972) 2020-02-27 17:23:55 -08:00
Dongbo Wang d4536cfb77
Make LTS package always not a preview (#11895) 2020-02-19 15:07:11 -08:00
Andrew 43c88a4ff1
Add WinCompat deny list support using a setting in powershell.… (#11726) 2020-02-04 16:33:26 -08:00
xtqqczze 2014ce66c1
Set StrictMode version 3.0 (#11563) 2020-02-03 09:44:10 -08:00
xtqqczze ba9a7b1948 Code Cleanup for environment data gathering in build.psm1 (#11572) 2020-01-15 11:03:48 -08:00
xtqqczze 4a9d70fdcd Correct case of $PWD special variable 2020-01-13 19:24:10 +00:00
xtqqczze 62aee9356a Correct case of $PSScriptRoot special variable 2020-01-13 19:21:53 +00:00
xtqqczze 42d50434f8 Correct case of $PSCmdlet special variable 2020-01-13 19:19:12 +00:00
xtqqczze 7dd922abe5 Correct case of $StackTrace special variable 2020-01-13 19:16:45 +00:00
xtqqczze 89e33f5772 Correct case of $Matches special variable 2020-01-13 19:15:17 +00:00
Aditya Patwardhan 0b97d6d5cf Fix symbolic links on Debian 10 packages (#11474) 2020-01-07 16:54:03 -08:00
Steve Lee 59db1f619e Fix symbolic links to libs on Debian 10 (#11390) 2019-12-27 17:14:51 -08:00
xtqqczze 7a7365279c Avoid variable names that conflict with automatic variables (#11392) 2019-12-20 12:09:03 -08:00
Aditya Patwardhan 8e76ad00e2 Bump .NET to 3.1.0 (#11260) 2019-12-04 13:17:16 -08:00
Travis Plunk 7fc67d0384
Only enable experimental features prior to RC (#11162) 2019-12-02 17:52:23 -08:00
Brendan Burns 2a76aa10ee Improve Ubuntu detection for Ubuntu derivatives like GalliumOS etc (#11155) 2019-11-26 15:27:06 -08:00
Travis Plunk 57a071e9e6
Add Debian 10, 11 and CentOS 8 packages (#11028) 2019-11-11 12:29:24 -08:00
Steve Lee ca68d9dbc5 Add GraphicalHost assembly to enable Out-GridView, Show-Command, and Get-Help -ShowWindow (#10899) 2019-11-01 10:05:32 -07:00
Dongbo Wang 0effc64534 Update the dotnet SDK install script URL in build.psm1 (#10927) 2019-10-28 15:50:07 -07:00
Aditya Patwardhan 74eaf1980f
Move to .NET Core 3.1 preview 1 (#10798) 2019-10-18 16:49:25 -07:00
Robert Holt 2a518fcfe2 Support the pipeline chain operators && and || in PowerShell language (#9849) 2019-10-17 14:43:46 -07:00
Dongbo Wang 48db3de03e
Make the event handler leaking test stable (#10790) 2019-10-16 09:55:41 -07:00
Lucius Q. User 273b4abd40 Add MacPorts support to the build system (#10736) 2019-10-09 17:02:05 -05:00
Travis Plunk 06aedae91e Merged PR 9996: Fix ExperimentalFeature list generation 2019-09-16 19:22:34 +00:00
Travis Plunk 60ffea59e3
Update PSDesiredStateConfiguration to 2.0.3 and bring new test… (#10516) 2019-09-12 14:39:11 -07:00
James Truher [MSFT] 3943f18c28 Alpine validation changes (#10428) 2019-08-24 11:35:34 -07:00
James Truher [MSFT] fe2cc6aca8 Additional Telemetry - Implementation of RFC0036 (#10336) 2019-08-15 16:13:53 -07:00
Steve Lee 882cbf367f Enable Experimental Features by default on Preview builds (#10228) 2019-08-08 11:37:25 -07:00
Dongbo Wang 0d817aa547 Update 'Microsoft.PowerShell.CoreCLR.Eventing' to resolve conflict with 'System.Diagnostics.EventLog' (#10305)
* Update 'Microsoft.PowerShell.CoreCLR.Eventing' to resolve conflicts
* Add reference to 'System.Diagnostics.EventLog' to build Microsoft.PowerShell.Commands.Diagnostics on Unix
* Stop compiling Get/New-WinEvent on Unix
2019-08-08 17:44:54 +05:00
Travis Plunk 6b2690ef8e
Fix macOS build break (#10207) 2019-07-22 15:21:38 -07:00
Aditya Patwardhan 540737ebe1 Split the fxdependent package on Windows into two packages (#10134) 2019-07-12 17:18:11 -07:00
Christoph Bergmeister [MVP] 3141405159 Update 'Start-PSBuild -Clean' logic of 'git clean' to ignore locked files from VS2019 (#10071) 2019-07-08 17:30:17 -07:00
Joel Sallow (/u/ta11ow) bf71b2c616 Start-PSBuild -Clean doeas not remove all untracked files (#10022) 2019-07-01 08:34:36 +05:00
Dongbo Wang 94b6b6f4f7 Clean up the use of 'SetProfileRoot' and 'StartProfile' in ConsoleHost (#9931)
* Clean up the use of 'SetProfileRoot' and 'StartProfile' in ConsoleHost
* Remove 'pwsh.pdb' from our component file list
2019-06-19 11:34:47 +05:00
Aditya Patwardhan 8ea15c9f13 Merged PR 8529: Add cleanup before building test package
Add cleanup before building test package
2019-05-29 00:31:14 +00:00
dependabot[bot] 9c8cdb50f6 Build(deps): Bump PackageManagement from 1.3.2 to 1.4 in /src/Modules (#9650)
* Build(deps): Bump PackageManagement from 1.3.2 to 1.4 in /src/Modules

Bumps PackageManagement from 1.3.2 to 1.4.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-21 17:36:17 -07:00
Steve Lee 29e21470d9 Port PowerShell to .NET Core 3.0 (#9597) 2019-05-21 13:43:51 +08:00
Steve Lee a96b4c0404 Update use of "PowerShell Core" to just "PowerShell" (#9513) 2019-05-10 15:34:27 -07:00
Steve Lee cb20154de8 Update to Pester 4.8.0 (#9510) 2019-05-02 09:56:16 +05:00
Aditya Patwardhan 9f429f0206 Build test packages for windows, linux-x64, linux-arm, linux-arm64 and macOS (#9476) 2019-04-26 15:41:07 -07:00
Steve Lee e81aa9882c Enable building on Kali Linux (#9471) 2019-04-26 14:11:56 -07:00
Dongbo Wang 687697bc90 Fix the failed test and update 'Publish-TestResults' to make AzDO fail the task when any tests failed (#9457) 2019-04-25 14:01:05 -07:00
Aditya Patwardhan 3ffd998c58 Create codecoverage and test packages for non-windows (#9373)
Refactor the `ci.psm1` to publish the code coverage and test packages.
Allow `CodeCoverage` configuration on non-windows.

## PR Context

We plan to run code coverage on Windows, Linux and macOS. These changes are needed to unblock those runs.
2019-04-16 15:13:30 -07:00
Travis Plunk cee1e54e75
Add ability to cross compile (#9374)
`-CrossGen` won`t work, but this gives basic ability to build for another platform.
This also means you cannot really package for another platform.
2019-04-16 14:14:29 -07:00
Travis Plunk 5913c88aaf
Mark tests in macOS CI which use applescript as pending/inconclusive (#9352)
Mark tests in macOS CI which use applescript as pending/inconclusive
2019-04-12 18:12:29 -07:00