Skip to content

Commit 4117353

Browse files
authored
Add v1.x branch CI/CD support (#161) (#162)
* Add v1.x branch CI/CD support * Add net6.0 runtime to the pipeline (cherry picked from commit 2c1d5fb)
1 parent 2dcd783 commit 4117353

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

build-system/azure-pipeline.template.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,19 @@ jobs:
1414
vmImage: ${{ parameters.vmImage }}
1515
steps:
1616
- task: UseDotNet@2
17-
displayName: 'Use .NET 5 SDK 5.0.101'
17+
displayName: 'Use .NET 7 SDK 7.0.x'
1818
inputs:
19-
version: 5.0.101
19+
version: 7.0.x
2020
- task: UseDotNet@2
21-
displayName: 'Use .NET Core Runtime 3.1.10'
21+
displayName: 'Use .NET Core Runtime 6.0.x'
2222
inputs:
2323
packageType: runtime
24-
version: 3.1.10
24+
version: 6.0.x
25+
- task: UseDotNet@2
26+
displayName: 'Use .NET Core Runtime 3.1.x'
27+
inputs:
28+
packageType: runtime
29+
version: 3.1.x
2530
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
2631
clean: false # whether to fetch clean each time
2732
submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules

build-system/pr-validation.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ trigger:
55
include:
66
- dev
77
- master
8+
- v1.*
89

910
pr:
1011
autoCancel: true # indicates whether additional pushes to a PR should cancel in-progress runs for the same PR. Defaults to true
1112
branches:
12-
include: [ dev, master ] # branch names which will trigger a build
13+
include: [ dev, master, v1.* ] # branch names which will trigger a build
1314

1415
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
1516

@@ -18,7 +19,7 @@ jobs:
1819
parameters:
1920
name: 'windows_pr'
2021
displayName: 'Windows PR Validation'
21-
vmImage: 'windows-2019'
22+
vmImage: 'windows-latest'
2223
scriptFileName: build.cmd
2324
scriptArgs: all
2425
outputDirectory: 'bin/nuget'
@@ -27,7 +28,7 @@ jobs:
2728
parameters:
2829
name: 'linux_pr'
2930
displayName: 'Linux PR Validation'
30-
vmImage: 'ubuntu-20.04'
31+
vmImage: 'ubuntu-latest'
3132
scriptFileName: ./build.sh
3233
scriptArgs: all
3334
outputDirectory: 'bin/nuget'

build.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let configuration = "Release"
1414

1515
// Configuration values for tests
1616
let testNetCoreVersion = "netcoreapp3.1"
17-
let testNetVersion = "net5.0"
17+
let testNetVersion = "net6.0"
1818

1919
// Metadata used when signing packages and DLLs
2020
let signingName = "Akka.MultiNode.TestAdapter"

src/common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<NBenchVersion>1.2.2</NBenchVersion>
2121
<ProtobufVersion>3.11.2</ProtobufVersion>
2222
<NetCoreTestVersion>netcoreapp3.1</NetCoreTestVersion>
23-
<NetTestVersion>net5.0</NetTestVersion>
23+
<NetTestVersion>net6.0</NetTestVersion>
2424
<NetStandardLibVersion>netstandard2.0</NetStandardLibVersion>
2525
<FluentAssertionsVersion>6.6.0</FluentAssertionsVersion>
2626
<FsCheckVersion>2.9.0</FsCheckVersion>

0 commit comments

Comments
 (0)