Files
Viper_VSCode/build/azuredevops/azure-pipelines.yml
TermiNexus e9e4693333
Some checks failed
Run mypy_primer on push / Run mypy_primer on push (push) Has been cancelled
Validation / Typecheck (push) Has been cancelled
Validation / Style (push) Has been cancelled
Validation / Test macos-latest (push) Has been cancelled
Validation / Test ubuntu-latest (push) Has been cancelled
Validation / Test windows-latest (push) Has been cancelled
Validation / Build (push) Has been cancelled
Validation / Required (push) Has been cancelled
初始化上传
2026-07-24 17:08:39 +08:00

63 lines
1.9 KiB
YAML

trigger: none
resources:
repositories:
- repository: MicroBuildTemplate
type: git
name: 1ESPipelineTemplates/MicroBuildTemplate
ref: refs/tags/release
variables:
- name: SigningType
value: 'real'
- name: TeamName
value: Pyright
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
sdl:
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
pool:
name: AzurePipelines-EO
demands:
- ImageOverride -equals 1ESPT-Ubuntu22.04
os: Linux
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: stage
jobs:
- job: build
displayName: Build VSIX
timeoutInMinutes: 720
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'publish vsix artifact'
targetPath: build_output
artifactName: vsix-win
steps:
- checkout: self
clean: true
submodules: true
fetchTags: true
persistCredentials: True
- task: NodeTool@0
displayName: Use Node 24.15.0
inputs:
versionSpec: 24.15.0
- task: CmdLine@2
displayName: npm install
inputs:
script: npm run install:all
- task: CmdLine@2
displayName: Package VSIX
inputs:
script: |
npm run package
workingDirectory: packages/vscode-pyright
- task: CopyFiles@2
displayName: 'Copy vsix to: build_output'
inputs:
SourceFolder: packages/vscode-pyright
Contents: '*.vsix'
TargetFolder: build_output