1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-MessagePack-CSharp

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
azure-pipelines.yml 2.6 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
pCYSl5EDgo Отправлено 25.12.2021 07:58 fed033d
trigger:
branches:
include:
- master
- develop
- 'v?.*'
- 'validate/*'
paths:
exclude: ["doc", "*.md"]
variables:
TreatWarningsAsErrors: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
BuildConfiguration: Release
BuildPlatform: Any CPU
stages:
- stage: Build
jobs:
- job: Windows
pool:
vmImage: windows-2022
steps:
- checkout: self
clean: true
- template: azure-pipelines/install-dependencies.yml
- powershell: '& (./azure-pipelines/Get-nbgv.ps1) cloud'
displayName: Set build number
- template: azure-pipelines/build.yml
- job: Unity
pool:
name: CustomAgents
demands:
- UNITYHUB_EDITORS_FOLDER_LOCATION
- UNITYVERSION -equals 2019.1
steps:
- checkout: self
clean: true
- template: azure-pipelines/install-dependencies.yml
- template: azure-pipelines/build_unity.yml
- job: Linux
pool:
vmImage: ubuntu-20.04
steps:
- checkout: self
clean: true
- template: azure-pipelines/install-dependencies.yml
- template: azure-pipelines/build_nonWindows.yml
- job: macOS
pool:
vmImage: macOS-11
steps:
- checkout: self
clean: true
- template: azure-pipelines/install-dependencies.yml
- template: azure-pipelines/build_nonWindows.yml
# This job ensures that we're running mpc regularly on the generated code that we check in.
# It also helps exercise mpc so bugs don't go unnoticed.
- job: codegen_diff
pool:
vmImage: ubuntu-20.04
steps:
- checkout: self
clean: true
- template: azure-pipelines/install-dependencies.yml
- pwsh: sandbox/codegen.ps1
displayName: Regenerate checked-in code
- bash: |
git add -u . # compare after applying git EOL normalization
git diff --cached --exit-code --stat \
|| (echo "##[error] found changed files after build. please 'azure-pipelines/codegen.ps1'" \
"and check in all changes" \
&& git diff --cached \
&& exit 1)
displayName: Check for uncommitted changes
- stage: Publish
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
jobs:
- job: push
pool:
vmImage: ubuntu-20.04
steps:
- download: current
artifact: nuget
- task: NuGetToolInstaller@1
displayName: Use NuGet 5.x
inputs:
versionSpec: 5.x
- task: NuGetCommand@2
displayName: NuGet push
inputs:
command: push
packagesToPush: $(Pipeline.Workspace)/nuget/*.nupkg
publishVstsFeed: MessagePack-CSharp/MessagePack-CI
continueOnError: true

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-MessagePack-CSharp.git
git@api.gitlife.ru:oschina-mirror/mirrors-MessagePack-CSharp.git
oschina-mirror
mirrors-MessagePack-CSharp
mirrors-MessagePack-CSharp
master