Skip to content

Commit

Permalink
[Fix] Build System (#86)
Browse files Browse the repository at this point in the history
* [Fix] Build System

* .NET SDK 5.0.408

* [Test] .NET SDK 6

* Target Frameworks

* The Problem is [Release]

* [fix] `pr:none`
  • Loading branch information
eaba authored Feb 16, 2023
1 parent d7e698d commit 9463640
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 16 deletions.
4 changes: 2 additions & 2 deletions build-system/azure-pipeline.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ 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'
displayName: 'Use .NET 5.0.408'
inputs:
version: '5.x'
version: 5.0.408
# Linux or macOS
- task: Bash@3
displayName: Linux / OSX Build
Expand Down
2 changes: 1 addition & 1 deletion build-system/pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
parameters:
name: 'windows_pr'
displayName: 'Windows PR Validation'
vmImage: 'vs2017-win2016'
vmImage: 'windows-latest'
scriptFileName: build.cmd
scriptArgs: all
- template: azure-pipeline.template.yaml
Expand Down
4 changes: 3 additions & 1 deletion build-system/windows-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference

pool:
vmImage: vs2017-win2016
vmImage: windows-latest
demands: Cmd

trigger:
branches:
include:
- refs/tags/*

pr: none

variables:
- name: githubConnectionName
Expand Down
15 changes: 8 additions & 7 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
<PropertyGroup>
<LibraryFramework>netstandard2.0</LibraryFramework>
<NetCoreFramework>net5</NetCoreFramework>
<XunitVersion>2.4.1</XunitVersion>
<TestSdkVersion>17.0.0</TestSdkVersion>
<AkkaVersion>1.4.39</AkkaVersion>
<PbmVersion>1.0.2</PbmVersion>
<DockerVersion>3.125.5</DockerVersion>
<FluentAssertionsVersion>6.4.0</FluentAssertionsVersion>
<MicrosoftExtensionsVersion>6.0.0</MicrosoftExtensionsVersion>
<NetTestVersion>net6</NetTestVersion>
<XunitVersion>2.4.2</XunitVersion>
<TestSdkVersion>17.4.1</TestSdkVersion>
<AkkaVersion>1.4.49</AkkaVersion>
<PbmVersion>1.2.2</PbmVersion>
<DockerVersion>3.125.12</DockerVersion>
<FluentAssertionsVersion>6.10.0</FluentAssertionsVersion>
<MicrosoftExtensionsVersion>7.0.0</MicrosoftExtensionsVersion>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NetCoreFramework)</TargetFramework>
<IsPackable>false</IsPackable>
Expand All @@ -12,7 +12,7 @@
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(TestSdkVersion)" />
<PackageReference Include="xunit" Version="$(XunitVersion)" />
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitVersion)"/>
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitVersion)" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/RepairTool.End2End.Tests/RepairTool.End2End.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(NetCoreFramework)</TargetFramework>
Expand All @@ -7,9 +7,9 @@

<ItemGroup>
<PackageReference Include="Akka.Cluster.Sharding" Version="$(AkkaVersion)" />
<PackageReference Include="Akka.Persistence.MongoDb" Version="1.4.31" />
<PackageReference Include="Akka.Persistence.MongoDb" Version="1.4.35" />
<PackageReference Include="Mongo2Go" Version="3.1.3" />
<PackageReference Include="Akka.Persistence.Redis" Version="1.4.31" />
<PackageReference Include="Akka.Persistence.Redis" Version="1.4.35" />
<PackageReference Include="Akka.Persistence.Sqlite" Version="$(AkkaVersion)" />
<PackageReference Include="Akka.Serialization.Hyperion" Version="$(AkkaVersion)" />
<PackageReference Include="Akka.TestKit.Xunit2" Version="$(AkkaVersion)" />
Expand Down

0 comments on commit 9463640

Please sign in to comment.