mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-27 03:46:23 +08:00
927c5595ca
* nuget multiple feed fixes * Update tools/releaseBuild/azureDevOps/vpackRelease.yml * Update linux.yml * Update mac.yml * Update windows.yml * Update windows-packaging.yml * fix whitespace issues * more whitespace * more whitespace
95 lines
2.0 KiB
YAML
95 lines
2.0 KiB
YAML
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:
|
|
- '*'
|
|
exclude:
|
|
- tools/releaseBuild/**/*
|
|
- .vsts-ci/misc-analysis.yml
|
|
- .github/ISSUE_TEMPLATE/*
|
|
- .dependabot/config.yml
|
|
- test/perf/*
|
|
pr:
|
|
branches:
|
|
include:
|
|
- master
|
|
- release*
|
|
- feature*
|
|
paths:
|
|
include:
|
|
- '*'
|
|
exclude:
|
|
- .dependabot/config.yml
|
|
- .github/ISSUE_TEMPLATE/*
|
|
- .vsts-ci/misc-analysis.yml
|
|
- .vsts-ci/windows.yml
|
|
- .vsts-ci/windows/*
|
|
- tools/cgmanifest.json
|
|
- LICENSE.txt
|
|
- test/common/markdown/*
|
|
- test/perf/*
|
|
- tools/packaging/*
|
|
- tools/releaseBuild/*
|
|
- tools/releaseBuild/azureDevOps/templates/*
|
|
- README.md
|
|
- .spelling
|
|
|
|
variables:
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
|
POWERSHELL_TELEMETRY_OPTOUT: 1
|
|
# Avoid expensive initialization of dotnet cli, see: https://donovanbrown.com/post/Stop-wasting-time-during-NET-Core-builds
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
|
# Turn off Homebrew analytics
|
|
HOMEBREW_NO_ANALYTICS: 1
|
|
__SuppressAnsiEscapeSequences: 1
|
|
nugetMultiFeedWarnLevel: none
|
|
|
|
resources:
|
|
- repo: self
|
|
clean: true
|
|
|
|
stages:
|
|
- stage: BuildMac
|
|
displayName: Build for macOS
|
|
jobs:
|
|
- template: templates/ci-build.yml
|
|
parameters:
|
|
pool: macOS-latest
|
|
jobName: mac_build
|
|
displayName: macOS Build
|
|
|
|
- stage: TestMac
|
|
displayName: Test for macOS
|
|
jobs:
|
|
- template: templates/nix-test.yml
|
|
parameters:
|
|
purpose: UnelevatedPesterTests
|
|
tagSet: CI
|
|
|
|
- template: templates/nix-test.yml
|
|
parameters:
|
|
purpose: ElevatedPesterTests
|
|
tagSet: CI
|
|
|
|
- template: templates/nix-test.yml
|
|
parameters:
|
|
purpose: UnelevatedPesterTests
|
|
tagSet: Others
|
|
|
|
- template: templates/nix-test.yml
|
|
parameters:
|
|
purpose: ElevatedPesterTests
|
|
tagSet: Others
|
|
|
|
- template: templates/verify-xunit.yml
|
|
parameters:
|
|
pool: macOS-latest
|
|
|