Create a separate 1es pipeline

This commit is contained in:
Noah Gilson 2024-03-11 11:51:05 -07:00
Родитель 31479e8867
Коммит efaffcf513
1 изменённых файлов: 57 добавлений и 0 удалений

57
1es-azure-pipeline.yml Normal file
Просмотреть файл

@ -0,0 +1,57 @@
trigger:
batch: true
branches:
include:
- main
tags:
include:
- SDK-v*
- Runtime-v*
pr:
autoCancel: false
branches:
include:
- '*'
variables:
- name: is-runtime-release
value: $[startsWith(variables['Build.SourceBranch'], 'refs/tags/Runtime-v')]
- name: is-sdk-release
value: $[startsWith(variables['Build.SourceBranch'], 'refs/tags/SDK-v')]
- name: Codeql.Enabled
value: true
resources:
repositories:
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
parameters:
- name: pools
type: object
default:
- name: ubuntu-latest
os: linux
- name: macOS-latest
os: macOS
- name: windows-latest
os: windows
extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
parameters:
stages:
- stage: stage
jobs:
- ${{ each pool in parameters.pools }}:
- job: ${{ pool.os }}_job
pool:
name: ${{ pool.name }}
os: ${{ pool.os }}
steps:
- template: templates/build-test.yml
- template: templates/lint.yml
- template: templates/upstream-verify.yml
- template: templates/package-vsix.yml