microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
.ci/master-pipeline.yml
78lines · modecode
| 1 | trigger: |
| 2 | - master |
| 3 | - preview |
| 4 | |
| 5 | variables: |
| 6 | Codeql.Enabled: true |
| 7 | |
| 8 | pr: |
| 9 | - none |
| 10 | |
| 11 | jobs: |
| 12 | - job: Linux |
| 13 | pool: |
| 14 | vmImage: ubuntu-latest |
| 15 | timeoutInMinutes: 20 |
| 16 | steps: |
| 17 | - checkout: self |
| 18 | clean: true |
| 19 | - template: common-validation.yml |
| 20 | |
| 21 | - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 |
| 22 | displayName: "Component Detection" |
| 23 | inputs: |
| 24 | ignoreDirectories: ".vscode-test" |
| 25 | |
| 26 | - task: msospo.ospo-extension.8d7f9abb-6896-461d-9e25-4f74ed65ddb2.notice@0 |
| 27 | displayName: "NOTICE File Generator" |
| 28 | inputs: |
| 29 | outputfile: "ThirdPartyNotices_Generated.txt" |
| 30 | additionaldata: release/AdditionalAttributions.txt |
| 31 | |
| 32 | - bash: gulp release |
| 33 | displayName: "gulp release" |
| 34 | |
| 35 | - bash: 'node -e "console.log(require(''./package.json'').version)" -> version.txt' |
| 36 | displayName: "Strip version from package.json and save to version.txt" |
| 37 | |
| 38 | - task: CopyFiles@2 |
| 39 | displayName: "Copy Files to: $(Build.ArtifactStagingDirectory)" |
| 40 | inputs: |
| 41 | Contents: | |
| 42 | *.vsix |
| 43 | CHANGELOG.md |
| 44 | version.txt |
| 45 | TargetFolder: "$(Build.ArtifactStagingDirectory)" |
| 46 | |
| 47 | - task: PublishBuildArtifacts@1 |
| 48 | displayName: "Publish artifacts: drop-win" |
| 49 | inputs: |
| 50 | ArtifactName: "drop-win" |
| 51 | |
| 52 | - job: Windows |
| 53 | pool: |
| 54 | vmImage: windows-latest |
| 55 | timeoutInMinutes: 20 |
| 56 | steps: |
| 57 | - checkout: self |
| 58 | clean: true |
| 59 | - template: common-validation.yml |
| 60 | |
| 61 | - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 |
| 62 | displayName: "Component Detection" |
| 63 | inputs: |
| 64 | ignoreDirectories: ".vscode-test" |
| 65 | |
| 66 | - job: macOS |
| 67 | pool: |
| 68 | vmImage: macOS-latest |
| 69 | timeoutInMinutes: 20 |
| 70 | steps: |
| 71 | - checkout: self |
| 72 | clean: true |
| 73 | - template: common-validation.yml |
| 74 | |
| 75 | - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 |
| 76 | displayName: "Component Detection" |
| 77 | inputs: |
| 78 | ignoreDirectories: ".vscode-test" |
| 79 | |