* 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 submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
persistCredentials: true persistCredentials: true
- task: UseDotNet@2 - task: UseDotNet@2
displayName: 'Use .NET 5 SDK 5.0.101' displayName: 'Use .NET 5 SDK 5.0.408'
inputs: inputs:
version: 5.0.101 version: 5.0.408
- task: UseDotNet@2 - task: UseDotNet@2
displayName: 'Use .NET Core Runtime 3.1.10' displayName: 'Use .NET Core Runtime 3.1.32'
inputs: inputs:
packageType: runtime packageType: runtime
version: 3.1.10 version: 3.1.32
# Linux or macOS # Linux or macOS
- task: Bash@3 - task: Bash@3
displayName: Linux / OSX Build displayName: Linux / OSX Build

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

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

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

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

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

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

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

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

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

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