-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12277 from microsoft/seanmcm/1_20_5_release
Merge for 1.20.5
- Loading branch information
Showing
63 changed files
with
47,362 additions
and
46,457 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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,95 @@ | ||
name: $(date:yyyyMMdd)$(rev:.r) | ||
trigger: | ||
branches: | ||
include: | ||
- main | ||
- release | ||
|
||
schedules: | ||
- cron: 30 5 * * 0 | ||
branches: | ||
include: | ||
- main | ||
always: true | ||
|
||
resources: | ||
repositories: | ||
- repository: MicroBuildTemplate | ||
type: git | ||
name: 1ESPipelineTemplates/MicroBuildTemplate | ||
ref: refs/tags/release | ||
|
||
extends: | ||
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate | ||
parameters: | ||
pool: | ||
name: AzurePipelines-EO | ||
image: AzurePipelinesWindows2022compliantGPT | ||
os: windows | ||
sdl: | ||
sourceAnalysisPool: | ||
name: AzurePipelines-EO | ||
image: AzurePipelinesWindows2022compliantGPT | ||
os: windows | ||
tsa: | ||
enabled: false | ||
featureFlags: | ||
autoBaseline: false | ||
|
||
stages: | ||
- stage: build | ||
jobs: | ||
- job: Phase_1 | ||
displayName: Build cpptools.vsix | ||
timeoutInMinutes: 60 | ||
cancelTimeoutInMinutes: 1 | ||
templateContext: | ||
outputs: | ||
- output: pipelineArtifact | ||
displayName: 'cpptools.vsix' | ||
condition: succeeded() | ||
targetPath: $(Build.ArtifactStagingDirectory)\Extension | ||
artifactName: cpptools.vsix | ||
|
||
steps: | ||
- checkout: self | ||
|
||
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@3 | ||
displayName: Use Yarn 1.x | ||
|
||
- task: UseNode@1 | ||
displayName: Use Node 16.x | ||
inputs: | ||
version: 16.x | ||
|
||
- task: CmdLine@2 | ||
displayName: Delete .npmrc if it exists | ||
inputs: | ||
script: IF EXIST %SYSTEMDRIVE%\Users\%USERNAME%\.npmrc del %SYSTEMDRIVE%\Users\%USERNAME%\.npmrc | ||
|
||
- task: Npm@0 | ||
name: NpmInstall_2 | ||
displayName: Install vsce | ||
inputs: | ||
arguments: --global @vscode/vsce | ||
|
||
- task: CmdLine@1 | ||
name: ProcessRunner_11 | ||
displayName: Create Extension Staging Directory | ||
inputs: | ||
filename: mkdir | ||
arguments: $(Build.ArtifactStagingDirectory)\Extension | ||
|
||
- task: CmdLine@1 | ||
name: ProcessRunner_12 | ||
displayName: Run VSCE to package vsix | ||
inputs: | ||
filename: vsce | ||
arguments: package --yarn -o $(Build.ArtifactStagingDirectory)\Extension\cpptools.vsix | ||
workingFolder: $(Build.SourcesDirectory)\Extension | ||
|
||
- task: Npm@0 | ||
displayName: Uninstall vsce | ||
inputs: | ||
command: uninstall | ||
arguments: --global @vscode/vsce |
This file contains 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 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
Oops, something went wrong.