nanoFramework.M5Stack/azure-pipelines.yml

45 строки
1.1 KiB
YAML
Исходник Обычный вид История

trigger:
branches:
include: [main, develop, "release-*" ]
paths:
exclude: [README.md, LICENSE.md, CHANGELOG.md, version.json, "*.md", .gitignore]
tags:
include: ["v*"]
# PR always trigger build
# add nf-tools repo to resources (for Azure Pipelines templates)
resources:
repositories:
- repository: templates
type: github
name: nanoframework/nf-tools
endpoint: nanoframework
pool:
vmImage: 'windows-2019'
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
nugetPackageName: 'nanoFramework.M5Stack'
2021-03-25 18:12:07 +03:00
repoName: 'nanoFramework.M5Stack'
steps:
# step from template @ nf-tools repo
# all build, update and publish steps
- template: azure-pipelines-templates/class-lib-build.yml@templates
parameters:
sonarCloudProject: 'nanoframework_lib-nanoFramework.M5Stack'
# step from template @ nf-tools repo
# report error
- template: azure-pipelines-templates/discord-webhook-task.yml@templates
parameters:
status: 'failure'
webhookUrl: '$(DiscordWebhook)'
message: ''