Skip to content

Commit 5000a14

Browse files
committed
Bump to .NET 9
1 parent 45e940e commit 5000a14

File tree

13 files changed

+38
-45
lines changed

13 files changed

+38
-45
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ jobs:
77
build:
88
runs-on: windows-latest
99
steps:
10-
- uses: actions/setup-dotnet@v3
10+
- uses: actions/setup-dotnet@v4
1111
with:
12-
dotnet-version: '8.x'
12+
dotnet-version: '9.x'
1313

1414
- uses: actions/setup-java@v4
1515
with:
1616
java-version: '21.x'
1717
distribution: 'microsoft'
1818

19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- run: |
2222
dotnet build src/DoomSharp.sln

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
- name: Checkout repository
5959
uses: actions/checkout@v4
6060

61-
- uses: actions/setup-dotnet@v3
61+
- uses: actions/setup-dotnet@v4
6262
with:
63-
dotnet-version: '8.x'
63+
dotnet-version: '9.x'
6464

6565
- uses: actions/setup-java@v4
6666
with:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DooM#
22

3-
This is a vanilla port of the [DooM source code](https://github.com/id-Software/DOOM/tree/master/linuxdoom-1.10) to C#, currently targeting .NET 8.
3+
This is a vanilla port of the [DooM source code](https://github.com/id-Software/DOOM/tree/master/linuxdoom-1.10) to C#, currently targeting .NET 9.
44

55

66
We currently support two platforms:
@@ -9,7 +9,7 @@ We currently support two platforms:
99

1010
## Getting started
1111

12-
* Make sure you have the .NET 8 SDK installed: https://dotnet.microsoft.com/en-us/download .
12+
* Make sure you have the .NET 9 SDK installed: https://dotnet.microsoft.com/en-us/download .
1313

1414
* Install [Visual Studio 2022](https://visualstudio.microsoft.com/downloads), there's a free community edition available, or use [VS Code](https://code.visualstudio.com/) if you want a lightweight editor. You can also check out [Rider](https://www.jetbrains.com/rider) from JetBrains if you're more familiar with IntelliJ.
1515

benchmarks/DoomSharp.Benchmarks.Runner/DoomSharp.Benchmarks.Runner.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

benchmarks/DoomSharp.Benchmarks.Runner/Workloads/ArrayClearVsNewInstance.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33

44
namespace DoomSharp.Benchmarks.Runner.Workloads;
55

6-
[SimpleJob(RuntimeMoniker.Net60)]
7-
[SimpleJob(RuntimeMoniker.NativeAot60)]
8-
[SimpleJob(RuntimeMoniker.Net70)]
9-
[SimpleJob(RuntimeMoniker.NativeAot70)]
106
[SimpleJob(RuntimeMoniker.Net80)]
117
[SimpleJob(RuntimeMoniker.NativeAot80)]
8+
[SimpleJob(RuntimeMoniker.Net90)]
9+
[SimpleJob(RuntimeMoniker.NativeAot90)]
1210
[MemoryDiagnoser]
1311
public class ArrayClearVsNewInstance
1412
{

benchmarks/DoomSharp.Benchmarks.Runner/Workloads/ArraysVsLists.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44
namespace DoomSharp.Benchmarks.Runner.Workloads;
55

6-
[SimpleJob(RuntimeMoniker.Net60)]
7-
[SimpleJob(RuntimeMoniker.Net70)]
86
[SimpleJob(RuntimeMoniker.Net80)]
7+
[SimpleJob(RuntimeMoniker.Net90)]
98
[MemoryDiagnoser]
109
public class ArraysVsLists
1110
{

benchmarks/DoomSharp.Benchmarks.Runner/Workloads/StructsVsClasses.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33

44
namespace DoomSharp.Benchmarks.Runner.Workloads;
55

6-
[SimpleJob(RuntimeMoniker.Net60)]
7-
[SimpleJob(RuntimeMoniker.NativeAot60)]
8-
[SimpleJob(RuntimeMoniker.Net70)]
9-
[SimpleJob(RuntimeMoniker.NativeAot70)]
106
[SimpleJob(RuntimeMoniker.Net80)]
117
[SimpleJob(RuntimeMoniker.NativeAot80)]
8+
[SimpleJob(RuntimeMoniker.Net90)]
9+
[SimpleJob(RuntimeMoniker.NativeAot90)]
1210
[MemoryDiagnoser]
1311
public class StructsVsClasses
1412
{

benchmarks/DoomSharp.Benchmarks.Runner/Workloads/UnsafeVsSafe.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33

44
namespace DoomSharp.Benchmarks.Runner.Workloads;
55

6-
[SimpleJob(RuntimeMoniker.Net60)]
7-
[SimpleJob(RuntimeMoniker.NativeAot60)]
8-
[SimpleJob(RuntimeMoniker.Net70)]
9-
[SimpleJob(RuntimeMoniker.NativeAot70)]
106
[SimpleJob(RuntimeMoniker.Net80)]
117
[SimpleJob(RuntimeMoniker.NativeAot80)]
8+
[SimpleJob(RuntimeMoniker.Net90)]
9+
[SimpleJob(RuntimeMoniker.NativeAot90)]
1210
[MemoryDiagnoser]
1311
public class UnsafeVsSafe
1412
{

src/DoomSharp.AnsiConsole/DoomSharp.AnsiConsole.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

src/DoomSharp.Core/DoomSharp.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)