MegaBites-AI/Windows-powershell
0372
1# Pipeline to run Linux CI internally2name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr)3trigger:4 # Batch merge builds together while a merge build is running5 batch: true6 branches:7 include:8 - master9 - release*10 - feature*11 paths:12 include:13 - '*'14 exclude:15 - .vsts-ci/misc-analysis.yml16 - .github/ISSUE_TEMPLATE/*17 - .github/workflows/*18 - .dependabot/config.yml19 - .pipelines/*20 - test/perf/*21pr:22 branches:23 include:24 - master25 - release*26 - feature*27 paths:28 include:29 - '*'30 exclude:31 - .dependabot/config.yml32 - .github/ISSUE_TEMPLATE/*33 - .github/workflows/*34 - .vsts-ci/misc-analysis.yml35 - .vsts-ci/windows.yml36 - .vsts-ci/windows/*37 - tools/cgmanifest/*38 - LICENSE.txt39 - test/common/markdown/*40 - test/perf/*41 - tools/releaseBuild/*42 - tools/install*43 - tools/releaseBuild/azureDevOps/templates/*44 - README.md45 - .spelling46 - .pipelines/*47 48variables:49 DOTNET_CLI_TELEMETRY_OPTOUT: 150 POWERSHELL_TELEMETRY_OPTOUT: 151 DOTNET_NOLOGO: 152 __SuppressAnsiEscapeSequences: 153 nugetMultiFeedWarnLevel: none54 55resources:56 repositories:57 - repository: Docker58 type: github59 endpoint: PowerShell60 name: PowerShell/PowerShell-Docker61 ref: master62 63stages:64- stage: BuildLinuxStage65 displayName: Build for Linux66 jobs:67 - template: templates/ci-build.yml68 parameters:69 pool: ubuntu-20.0470 jobName: linux_build71 displayName: linux Build72 73- stage: TestUbuntu74 displayName: Test for Ubuntu75 dependsOn: [BuildLinuxStage]76 jobs:77 - template: templates/nix-test.yml78 parameters:79 name: Ubuntu80 pool: ubuntu-20.0481 purpose: UnelevatedPesterTests82 tagSet: CI83 84 - template: templates/nix-test.yml85 parameters:86 name: Ubuntu87 pool: ubuntu-20.0488 purpose: ElevatedPesterTests89 tagSet: CI90 91 - template: templates/nix-test.yml92 parameters:93 name: Ubuntu94 pool: ubuntu-20.0495 purpose: UnelevatedPesterTests96 tagSet: Others97 98 - template: templates/nix-test.yml99 parameters:100 name: Ubuntu101 pool: ubuntu-20.04102 purpose: ElevatedPesterTests103 tagSet: Others104 105 - template: templates/verify-xunit.yml106 parameters:107 pool: ubuntu-20.04108 109- stage: PackageLinux110 displayName: Package Linux111 dependsOn: ["BuildLinuxStage"]112 jobs:113 - template: linux/templates/packaging.yml114 parameters:115 pool: ubuntu-20.04116 