Skip to content

Commit

Permalink
Switch to net7.0 for tests/exes
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Oct 5, 2023
1 parent c455614 commit 6dcbec7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0

- name: Install .NET 6.0
uses: actions/setup-dotnet@v1
- name: Install .NET 7.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: '7.0.x'

- name: Build, Test, Pack, Publish
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions src/LibObjectFile.CodeGen/LibObjectFile.CodeGen.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand All @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CppAst.CodeGen" Version="0.7.0" />
<PackageReference Include="CppAst.CodeGen" Version="0.11.3" />
<Content Include="dwarf.h">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down
9 changes: 4 additions & 5 deletions src/LibObjectFile.Tests/LibObjectFile.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<TargetFramework>net7.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down Expand Up @@ -38,9 +37,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="nunit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/LibObjectFile/LibObjectFile.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@

<ItemGroup>
<None Include="../../img/libobjectfile.png" Pack="true" PackagePath="/logo.png" />
<None Include="../../readme.md" Pack="true" PackagePath="/"/>
<None Include="../../readme.md" Pack="true" PackagePath="/" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="MinVer" Version="2.5.0">
<PackageReference Include="MinVer" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions src/objdasm/objdasm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace>LibObjectFile.Disasm</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Iced" Version="1.17.0" />
<PackageReference Include="Iced" Version="1.20.0" />
<PackageReference Include="Mono.Options" Version="6.12.0.148" />
</ItemGroup>

Expand Down

0 comments on commit 6dcbec7

Please sign in to comment.