2021-10-17 22:42:22 +03:00
|
|
|
name: $(date:yyyyMMdd)$(rev:-rr)
|
|
|
|
|
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: templates
|
2021-10-17 23:28:27 +03:00
|
|
|
endpoint: wieslawsoltes
|
2021-10-17 22:42:22 +03:00
|
|
|
type: github
|
|
|
|
name: wieslawsoltes/BuildTemplates
|
2022-11-03 21:24:04 +03:00
|
|
|
ref: refs/tags/v2.0.0
|
2021-10-17 22:42:22 +03:00
|
|
|
|
|
|
|
variables:
|
|
|
|
BuildConfiguration: 'Release'
|
|
|
|
BuildPlatform: 'Any CPU'
|
2024-03-03 18:36:02 +03:00
|
|
|
PublishFramework: 'net8.0'
|
2022-08-17 12:39:54 +03:00
|
|
|
PublishProject: 'ColorPickerDemo'
|
2021-10-17 22:42:22 +03:00
|
|
|
PublishRuntime: ''
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- template: Test-PowerShell.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Test_Windows'
|
|
|
|
vmImage: 'windows-2022'
|
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
|
|
|
|
- template: Test-Bash.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Test_Linux'
|
|
|
|
vmImage: 'ubuntu-20.04'
|
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
|
|
|
|
- template: Test-Bash.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Test_macOS'
|
2024-07-22 21:22:23 +03:00
|
|
|
vmImage: 'macOS-14'
|
2021-10-17 22:42:22 +03:00
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
|
|
|
|
- template: Pack-MyGet.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Pack_MyGet'
|
|
|
|
vmImage: 'windows-2022'
|
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
|
|
|
|
- template: Pack-NuGet.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Pack_NuGet'
|
|
|
|
vmImage: 'windows-2022'
|
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
|
|
|
|
- template: Publish-PowerShell.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Publish_Windows'
|
|
|
|
vmImage: 'windows-2022'
|
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
PublishFramework: ${{ variables.PublishFramework }}
|
|
|
|
PublishProject: ${{ variables.PublishProject }}
|
2024-03-03 18:46:13 +03:00
|
|
|
PublishRuntime: 'win-x64'
|
2021-10-17 22:42:22 +03:00
|
|
|
|
|
|
|
- template: Publish-Bash.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Publish_Ubuntu'
|
|
|
|
vmImage: 'ubuntu-20.04'
|
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
PublishFramework: ${{ variables.PublishFramework }}
|
|
|
|
PublishProject: ${{ variables.PublishProject }}
|
2024-03-03 18:46:13 +03:00
|
|
|
PublishRuntime: 'linux-x64'
|
2021-10-17 22:42:22 +03:00
|
|
|
|
|
|
|
- template: Publish-Bash.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Publish_Debian'
|
|
|
|
vmImage: 'ubuntu-20.04'
|
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
PublishFramework: ${{ variables.PublishFramework }}
|
|
|
|
PublishProject: ${{ variables.PublishProject }}
|
2024-03-03 18:46:13 +03:00
|
|
|
PublishRuntime: 'linux-x64'
|
2021-10-17 22:42:22 +03:00
|
|
|
|
|
|
|
- template: Publish-Bash.yml@templates
|
|
|
|
parameters:
|
|
|
|
name: 'Publish_macOS'
|
2024-07-22 21:22:23 +03:00
|
|
|
vmImage: 'macOS-14'
|
2021-10-17 22:42:22 +03:00
|
|
|
BuildConfiguration: ${{ variables.BuildConfiguration }}
|
|
|
|
PublishFramework: ${{ variables.PublishFramework }}
|
|
|
|
PublishProject: ${{ variables.PublishProject }}
|
2024-03-03 18:46:13 +03:00
|
|
|
PublishRuntime: 'osx-x64'
|