* Improve

* Fix failing build

* Updates Packages

* [latest] windows, ubuntu

* Update .NET SDKs

* .NET Core 3.1.32

---------

Co-authored-by: Gregorius Soedharmo <arkatufus@yahoo.com>
This commit is contained in:
Ebere Abanonu 2023-02-16 16:05:19 +01:00 коммит произвёл GitHub
Родитель f66febaa96
Коммит 1194862447
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 20 добавлений и 20 удалений

Просмотреть файл

@ -17,14 +17,14 @@ jobs:
submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
persistCredentials: true
- task: UseDotNet@2
displayName: 'Use .NET 5 SDK 5.0.101'
displayName: 'Use .NET 5 SDK 5.0.408'
inputs:
version: 5.0.101
version: 5.0.408
- task: UseDotNet@2
displayName: 'Use .NET Core Runtime 3.1.10'
displayName: 'Use .NET Core Runtime 3.1.32'
inputs:
packageType: runtime
version: 3.1.10
version: 3.1.32
# Linux or macOS
- task: Bash@3
displayName: Linux / OSX Build

Просмотреть файл

@ -18,7 +18,7 @@ jobs:
parameters:
name: 'windows_pr'
displayName: 'Windows PR Validation'
vmImage: 'windows-2019'
vmImage: 'windows-latest'
scriptFileName: build.cmd
scriptArgs: all
@ -26,7 +26,7 @@ jobs:
parameters:
name: 'linux_pr_net_core'
displayName: 'Linux PR Validation (netcoreapp3.1)'
vmImage: 'ubuntu-16.04'
vmImage: 'ubuntu-latest'
scriptFileName: ./build.sh
scriptArgs: runTestsNetCore
@ -34,6 +34,6 @@ jobs:
parameters:
name: 'linux_pr_net_5'
displayName: 'Linux PR Validation (net5.0)'
vmImage: 'ubuntu-16.04'
vmImage: 'ubuntu-latest'
scriptFileName: ./build.sh
scriptArgs: runTestsNet

Просмотреть файл

@ -17,7 +17,7 @@ jobs:
- template: azure-pipeline.template.yaml
parameters:
name: Windows
vmImage: 'windows-2019'
vmImage: 'windows-latest'
scriptFileName: build.cmd
scriptArgs: all
@ -25,7 +25,7 @@ jobs:
parameters:
name: 'linux_pr_net_core'
displayName: 'Linux PR Validation (netcoreapp3.1)'
vmImage: 'ubuntu-18.04'
vmImage: 'ubuntu-latest'
scriptFileName: ./build.sh
scriptArgs: runTestsNetCore
@ -33,6 +33,6 @@ jobs:
parameters:
name: 'linux_pr_net_5'
displayName: 'Linux PR Validation (net5.0)'
vmImage: 'ubuntu-18.04'
vmImage: 'ubuntu-latest'
scriptFileName: ./build.sh
scriptArgs: runTestsNet

Просмотреть файл

@ -2,7 +2,7 @@
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference
pool:
vmImage: windows-2019
vmImage: windows-latest
demands: Cmd
trigger:

Просмотреть файл

@ -4,7 +4,7 @@
<PropertyGroup>
<AssemblyTitle>Hyperion</AssemblyTitle>
<Description>Hyperion, fast binary POCO serializer</Description>
<TargetFrameworks>netstandard1.6;netstandard2.0;net45</TargetFrameworks>
<TargetFrameworks>netstandard1.6;netstandard2.0;net461</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageTags>serialization;poco</PackageTags>
</PropertyGroup>
@ -21,7 +21,7 @@
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
<Reference Include="System" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
@ -45,7 +45,7 @@
<DefineConstants>$(DefineConstants);NETSTANDARD20</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PropertyGroup Condition=" '$(TargetFramework)' == 'net461' ">
<DefineConstants>$(DefineConstants);SERIALIZATION;UNSAFE;NET45</DefineConstants>
</PropertyGroup>

Просмотреть файл

@ -21,11 +21,11 @@ Please report any serialization problem that occurs after an upgrade to this ver
<NetTestVersion>net5.0</NetTestVersion>
<NetFrameworkTestVersion>net471</NetFrameworkTestVersion>
<NetStandardLibVersion>netstandard2.0</NetStandardLibVersion>
<AkkaVersion>1.4.39</AkkaVersion>
<FluentAssertionsVersion>6.5.1</FluentAssertionsVersion>
<XunitVersion>2.4.1</XunitVersion>
<XunitRunnerVersion>2.4.3</XunitRunnerVersion>
<TestSdkVersion>17.1.0</TestSdkVersion>
<NBenchVersion>1.2.2</NBenchVersion>
<AkkaVersion>1.4.49</AkkaVersion>
<FluentAssertionsVersion>6.10.0</FluentAssertionsVersion>
<XunitVersion>2.4.2</XunitVersion>
<XunitRunnerVersion>2.4.5</XunitRunnerVersion>
<TestSdkVersion>17.4.1</TestSdkVersion>
<NBenchVersion>2.0.1</NBenchVersion>
</PropertyGroup>
</Project>