Skip to content

Commit

Permalink
Add net8 to build matrix in build-bravo.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
albertospelta committed Nov 17, 2024
1 parent bedad36 commit 92cc905
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .azure/pipelines/build-bravo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,30 @@ trigger: none

strategy:
matrix:
bravo-x64:
bravo-net6-x64:
arch: 'x64'
framework: 'net6.0'
selfcontained: 'true'
publishmode: 'SELFCONTAINED'
artifact: 'Bravo.$(AppVersionMajor).$(AppVersionMinor).$(AppVersionPatch).x64'
bravo-x64-frameworkdependent:
bravo-net8-x64:
arch: 'x64'
framework: 'net8.0'
selfcontained: 'true'
publishmode: 'SELFCONTAINED'
artifact: 'Bravo.$(AppVersionMajor).$(AppVersionMinor).$(AppVersionPatch).net8-x64'
bravo-net6-x64-frameworkdependent:
arch: 'x64'
framework: 'net6.0'
selfcontained: 'false'
publishmode: 'FRAMEWORKDEPENDENT'
artifact: 'Bravo.$(AppVersionMajor).$(AppVersionMinor).$(AppVersionPatch).x64-frameworkdependent'
bravo-net8-x64-frameworkdependent:
arch: 'x64'
framework: 'net8.0'
selfcontained: 'false'
publishmode: 'FRAMEWORKDEPENDENT'
artifact: 'Bravo.$(AppVersionMajor).$(AppVersionMinor).$(AppVersionPatch).net8-x64-frameworkdependent'

pool:
vmImage: 'windows-latest'
Expand Down Expand Up @@ -73,9 +87,13 @@ steps:
DisableTelemetry: true
- script: dotnet --info
displayName: dotnet info
- task: UseDotNet@2
inputs:
packageType: sdk
useGlobalJson: true
- script: dotnet restore "$(csproj)" --runtime "win-$(arch)" --verbosity "${{ parameters.verbosity }}"
displayName: dotnet restore
- script: dotnet publish "$(csproj)" --configuration "$(configuration)" --no-restore --runtime "win-$(arch)" --self-contained "$(selfcontained)" --output "$(Build.BinariesDirectory)" --verbosity "${{ parameters.verbosity }}" /p:ContinuousIntegrationBuild="true" /p:AdditionalConstants="$(publishmode)"
- script: dotnet publish "$(csproj)" --framework "$(framework)-windows" --configuration "$(configuration)" --no-restore --runtime "win-$(arch)" --self-contained "$(selfcontained)" --output "$(Build.BinariesDirectory)" --verbosity "${{ parameters.verbosity }}" /p:ContinuousIntegrationBuild="true" /p:AdditionalConstants="$(publishmode)"
displayName: dotnet publish
- script: dotnet tool install --global AzureSignTool
displayName: dotnet install AzureSignTool
Expand Down

0 comments on commit 92cc905

Please sign in to comment.