-
Notifications
You must be signed in to change notification settings - Fork 8.1k
A separate Windows packaging CI #14670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
fcc9069
move win packaging template and add runtime param
TravisEz13 3cf45ef
add win packaging CI
TravisEz13 f87793a
Add runtime param to CI function
TravisEz13 4395623
remove packaging stage from main CI
TravisEz13 475ceb1
don't trigger linux or mac when making windows only yaml changes
TravisEz13 bc57574
finish CI yaml
TravisEz13 f5caf82
fix syntax
TravisEz13 6c608da
fix variables
TravisEz13 615bc33
fix param name
TravisEz13 39e71fc
add channel
TravisEz13 f60bb0b
remove duplicate build command
TravisEz13 46d0dd2
actually build
TravisEz13 664189d
update tests
TravisEz13 aa3ebb5
try making stable x86 to avoid test issue
TravisEz13 a02054b
fix packaging runtime
TravisEz13 65366ed
Add upgrade codes for all variants
TravisEz13 7c38c06
fix variable scope
TravisEz13 cb6ed5f
diagnostics
TravisEz13 21ebd38
fix runtimes
TravisEz13 cc0b97f
fix path check
TravisEz13 c50163f
log paths
TravisEz13 7532069
pend test failure
TravisEz13 1f4d1c1
diagnostics
TravisEz13 afdb585
fix correct test
TravisEz13 a359b83
fix pattern
TravisEz13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr) | ||
| trigger: | ||
| # Batch merge builds together while a merge build is running | ||
| batch: true | ||
| branches: | ||
| include: | ||
| - master | ||
| - release* | ||
| - feature* | ||
| paths: | ||
| include: | ||
| - /.vsts-ci/templates/windows-packaging.yml | ||
| - /.vsts-ci/windows-packaging.yml | ||
| - /global.json | ||
| - /src/* | ||
| - /tools/ci.psm1 | ||
| - /tools/packaging/* | ||
| - /assets/* | ||
|
|
||
| pr: | ||
| branches: | ||
| include: | ||
| - master | ||
| - release* | ||
| - feature* | ||
| paths: | ||
| # file extension filters are not supported when this was written. | ||
| # This really should be /src/**/*.csproj | ||
| include: | ||
| - /.vsts-ci/templates/windows-packaging.yml | ||
| - /.vsts-ci/windows-packaging.yml | ||
| - /global.json | ||
| - /src/Microsoft.Management.Infrastructure.CimCmdlets/Microsoft.Management.Infrastructure.CimCmdlets.csproj | ||
| - /src/Microsoft.Management.UI.Internal/Microsoft.PowerShell.GraphicalHost.csproj | ||
| - /src/Microsoft.PowerShell.Commands.Diagnostics/Microsoft.PowerShell.Commands.Diagnostics.csproj | ||
| - /src/Microsoft.PowerShell.Commands.Management/Microsoft.PowerShell.Commands.Management.csproj | ||
| - /src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj | ||
| - /src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj | ||
| - /src/Microsoft.PowerShell.CoreCLR.Eventing/Microsoft.PowerShell.CoreCLR.Eventing.csproj | ||
| - /src/Microsoft.PowerShell.GlobalTool.Shim/Microsoft.PowerShell.GlobalTool.Shim.csproj | ||
| - /src/Microsoft.PowerShell.LocalAccounts/Microsoft.PowerShell.LocalAccounts.csproj | ||
| - /src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj | ||
| - /src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj | ||
| - /src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj | ||
| - /src/Microsoft.WSMan.Management/Microsoft.WSMan.Management.csproj | ||
| - /src/Microsoft.WSMan.Runtime/Microsoft.WSMan.Runtime.csproj | ||
| - /src/Modules/PSGalleryModules.csproj | ||
| - /src/powershell-win-core/powershell-win-core.csproj | ||
| - /tools/ci.psm1 | ||
| - /tools/packaging/* | ||
| - /assets/files.wxs | ||
| - /assets/Product.wxs | ||
|
|
||
| variables: | ||
| - name: GIT_CONFIG_PARAMETERS | ||
| value: "'core.autocrlf=false'" | ||
| - name: DOTNET_CLI_TELEMETRY_OPTOUT | ||
| value: 1 | ||
| - name: POWERSHELL_TELEMETRY_OPTOUT | ||
| value: 1 | ||
| # Avoid expensive initialization of dotnet cli, see: https://donovanbrown.com/post/Stop-wasting-time-during-NET-Core-builds | ||
| - name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE | ||
| value: 1 | ||
| - name: __SuppressAnsiEscapeSequences | ||
| value: 1 | ||
| - group: fakeNugetKey | ||
|
|
||
| resources: | ||
| - repo: self | ||
| clean: true | ||
| stages: | ||
| - stage: PackagingWin | ||
| displayName: Packaging for Windows | ||
| dependsOn: [] # by specifying an empty array, this stage doesn't depend on the stage before it | ||
| jobs: | ||
| # Unlike daily builds, we do not upload nuget package to MyGet so we do not wait on tests to finish. | ||
| - template: templates/windows-packaging.yml | ||
| - template: templates/windows-packaging.yml | ||
| parameters: | ||
| channel: stable | ||
| architecture: x86 | ||
| - template: templates/windows-packaging.yml | ||
| parameters: | ||
| channel: preview | ||
| architecture: x86 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.