94 строки
2.9 KiB
YAML
94 строки
2.9 KiB
YAML
name: $(date:yyyyMMdd)$(rev:-rr)
|
|
|
|
resources:
|
|
repositories:
|
|
- repository: templates
|
|
endpoint: wieslawsoltes
|
|
type: github
|
|
name: wieslawsoltes/BuildTemplates
|
|
ref: refs/tags/v2.0.0
|
|
|
|
variables:
|
|
BuildConfiguration: 'Release'
|
|
BuildPlatform: 'Any CPU'
|
|
PublishFramework: 'net7.0'
|
|
PublishProject: 'NodeEditor.Desktop'
|
|
PublishRuntime: ''
|
|
Workloads: 'wasm-tools wasm-experimental'
|
|
|
|
jobs:
|
|
- template: Test-PowerShell.yml@templates
|
|
parameters:
|
|
name: 'Test_Windows'
|
|
vmImage: 'windows-2022'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
|
|
- template: Test-Bash.yml@templates
|
|
parameters:
|
|
name: 'Test_Linux'
|
|
vmImage: 'ubuntu-20.04'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
|
|
- template: Test-Bash.yml@templates
|
|
parameters:
|
|
name: 'Test_macOS'
|
|
vmImage: 'macOS-11'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
|
|
- template: Pack-MyGet.yml@templates
|
|
parameters:
|
|
name: 'Pack_MyGet'
|
|
vmImage: 'windows-2022'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
|
|
- template: Pack-NuGet.yml@templates
|
|
parameters:
|
|
name: 'Pack_NuGet'
|
|
vmImage: 'windows-2022'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
|
|
- template: Publish-PowerShell.yml@templates
|
|
parameters:
|
|
name: 'Publish_Windows'
|
|
vmImage: 'windows-2022'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
PublishFramework: ${{ variables.PublishFramework }}
|
|
PublishProject: ${{ variables.PublishProject }}
|
|
PublishRuntime: 'win7-x64'
|
|
|
|
- template: Publish-Bash.yml@templates
|
|
parameters:
|
|
name: 'Publish_Ubuntu'
|
|
vmImage: 'ubuntu-20.04'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
PublishFramework: ${{ variables.PublishFramework }}
|
|
PublishProject: ${{ variables.PublishProject }}
|
|
PublishRuntime: 'ubuntu.14.04-x64'
|
|
|
|
- template: Publish-Bash.yml@templates
|
|
parameters:
|
|
name: 'Publish_Debian'
|
|
vmImage: 'ubuntu-20.04'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
PublishFramework: ${{ variables.PublishFramework }}
|
|
PublishProject: ${{ variables.PublishProject }}
|
|
PublishRuntime: 'debian.8-x64'
|
|
|
|
- template: Publish-Bash.yml@templates
|
|
parameters:
|
|
name: 'Publish_macOS'
|
|
vmImage: 'macOS-11'
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
Workloads: ${{ variables.Workloads }}
|
|
PublishFramework: ${{ variables.PublishFramework }}
|
|
PublishProject: ${{ variables.PublishProject }}
|
|
PublishRuntime: 'osx.10.12-x64'
|