-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathazure-pipelines.yml
57 lines (54 loc) · 1.81 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
trigger:
branches:
include:
- master
- main
- feature/*
tags:
include:
- '*'
resources:
repositories:
- repository: recommended_practices
type: github
name: endjin/Endjin.RecommendedPractices.AzureDevopsPipelines.GitHub
endpoint: corvus-dotnet-github
jobs:
- template: templates/build.and.release.scripted.yml@recommended_practices
parameters:
vmImage: 'windows-latest'
service_connection_nuget_org: $(Endjin_Service_Connection_NuGet_Org)
service_connection_github: $(Endjin_Service_Connection_GitHub)
solution_to_build: $(Endjin_Solution_To_Build)
postCustomEnvironmentVariables:
- task: Npm@1
displayName: 'Install Latest Azure Functions V4 Runtime'
inputs:
command: custom
verbose: false
customCommand: 'install -g azure-functions-core-tools@ --unsafe-perm true --verbose'
- task: UseDotNet@2
# Although we build on the .NET 8.0 SDK, the dotnet-covenant tool requires 6.0 to be installed
displayName: Install .NET 6.0 runtime
inputs:
packageType: 'runtime'
version: '6.x'
netSdkVersion: '8.x'
- template: azure-pipelines-test-template.yml
parameters:
jobName: 'UbuntuBuildTest'
vmImage: 'ubuntu-latest'
postCustomEnvironmentVariables:
- task: Npm@1
displayName: 'Install Latest Azure Functions V4 Runtime'
inputs:
command: custom
verbose: false
customCommand: 'install -g azure-functions-core-tools@ --unsafe-perm true --verbose'
- task: UseDotNet@2
# Although we build on the .NET 8.0 SDK, the dotnet-covenant tool requires 6.0 to be installed
displayName: Install .NET 6.0 runtime
inputs:
packageType: 'runtime'
version: '6.x'
netSdkVersion: '8.x'