66 строки
1.4 KiB
YAML
66 строки
1.4 KiB
YAML
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- main
|
|
tags:
|
|
include:
|
|
- SDK-v*
|
|
- Runtime-v*
|
|
pr:
|
|
autoCancel: false
|
|
branches:
|
|
include:
|
|
- '*'
|
|
|
|
variables:
|
|
- name: Codeql.Enabled
|
|
value: true
|
|
|
|
parameters:
|
|
- name: pools
|
|
type: object
|
|
default:
|
|
- name: NetCore-Public
|
|
vmImage: ubuntu-latest
|
|
image: ubuntu.2204.amd64.open
|
|
os: linux
|
|
- name: NetCore-Public
|
|
vmImage: macOS-latest
|
|
image: osx.14.amd64.open
|
|
os: macOS
|
|
- name: NetCore-Public
|
|
vmImage: windows-latest
|
|
image: 1es-windows-2022-open
|
|
os: windows
|
|
|
|
stages:
|
|
- stage: o # o is just used so it looks like a bullet point in the output of devops
|
|
jobs:
|
|
- ${{ each image in parameters.pools }}:
|
|
- template: pipeline-templates/build-test.yaml
|
|
parameters:
|
|
pool:
|
|
name: ${{ image.name }}
|
|
image: ${{ image.image }}
|
|
vmImage: ${{ image.vmImage }}
|
|
os: ${{ image.os }}
|
|
oes: false
|
|
- template: pipeline-templates/upstream-verify.yaml
|
|
parameters:
|
|
pool:
|
|
name: NetCore-Public
|
|
image: 1es-windows-2022-open
|
|
os: windows
|
|
- template: pipeline-templates/lint.yaml
|
|
parameters:
|
|
pool:
|
|
name: NetCore-Public
|
|
image: 1es-windows-2022-open
|
|
os: windows
|
|
- template: pipeline-templates/package-vsix.yaml
|
|
parameters:
|
|
pool:
|
|
name: NetCore-Public
|
|
image: 1es-windows-2022-open
|
|
os: windows |