diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 203176c..dc48cf1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,9 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: | + 8.0.x + 10.0.x - run: dotnet build --configuration Release - run: dotnet test --configuration Release --no-build - run: dotnet pack GeneCodeCS/GeneCodeCS.csproj --configuration Release --no-build --output artifacts diff --git a/GeneCodeCS.Test/GeneCodeCS.Test.csproj b/GeneCodeCS.Test/GeneCodeCS.Test.csproj index 654ccba..0e3ca05 100644 --- a/GeneCodeCS.Test/GeneCodeCS.Test.csproj +++ b/GeneCodeCS.Test/GeneCodeCS.Test.csproj @@ -1,7 +1,7 @@ - net8.0 + net8.0;net10.0 GeneCodeCS.Test latest false diff --git a/GeneCodeCS/GeneCodeCS.csproj b/GeneCodeCS/GeneCodeCS.csproj index 5a8b462..652eb84 100644 --- a/GeneCodeCS/GeneCodeCS.csproj +++ b/GeneCodeCS/GeneCodeCS.csproj @@ -1,7 +1,7 @@ - net8.0 + net8.0;net10.0 GeneCodeCS GeneCodeCS latest diff --git a/README.md b/README.md index 1fa4185..6f656ce 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ A working version of this is in `GeneCodeCS.Test/Helpers/CounterBot.cs` and `Pop Usage ----- -Requires .NET 8. Build and test with `dotnet test`. +Targets .NET 8 and .NET 10. Build and test with `dotnet test`. Instantiate a new object of `Population<>` passing a custom sub-class of `BaseBot`. The sub-class must be concrete and have a public parameterless constructor. Define public methods in the sub-class for: * Functions - these return bool; diff --git a/docs/index.html b/docs/index.html index 51fba03..c78cf27 100644 --- a/docs/index.html +++ b/docs/index.html @@ -177,10 +177,10 @@

Evolve programs,
not just parameters.

Watch a population evolve ↓ View on GitHub -
# .NET 8 SDK
+    
# .NET 10 SDK (library targets .NET 8 and 10)
 git clone https://github.com/EddPorter/GeneCodeCS
 cd GeneCodeCS && dotnet test
-
.NET 8GPL-3.0-or-laterNo code generation to diskReproducible with a seed
+
.NET 8 & 10GPL-3.0-or-laterNo code generation to diskReproducible with a seed