mirror of
https://github.com/microsoft/pyright.git
synced 2024-07-14 19:10:39 +03:00
add an azure devops build (#8200)
* add an azure devops build * fix prettier * moving azure build under azuredevops folder
This commit is contained in:
parent
1168be715e
commit
b5d4d92f0a
61
build/azuredevops/azure-pipelines.yml
Normal file
61
build/azuredevops/azure-pipelines.yml
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
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 18.x
|
||||||
|
inputs:
|
||||||
|
versionSpec: 18.x
|
||||||
|
- task: CmdLine@2
|
||||||
|
displayName: npm install
|
||||||
|
inputs:
|
||||||
|
script: npm install
|
||||||
|
- 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
|
Loading…
Reference in New Issue
Block a user