diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index 5f72c613..c6227f50 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -679,7 +679,7 @@ jobs: build-csharp-linux: docker: - - image: mcr.microsoft.com/dotnet/sdk:7.0-jammy # Ubuntu 22.04 + - image: mcr.microsoft.com/dotnet/sdk:8.0 steps: - checkout - attach_workspace: @@ -735,6 +735,10 @@ jobs: - gpt4all-csharp-nuget-packages-win - attach_workspace: at: C:\Users\circleci\workspace + - run: + name: "Install .NET" + command: | + choco install -y dotnet-8.0-sdk - run: name: "Prepare Native Libs" command: | @@ -782,7 +786,8 @@ jobs: - run: name: Install dependencies command: | - brew install --cask dotnet-sdk + brew tap isen-ng/dotnet-sdk-versions + brew install --cask dotnet-sdk8-0-100 - attach_workspace: at: /tmp/workspace - run: @@ -824,7 +829,7 @@ jobs: store-and-upload-nupkgs: docker: - - image: mcr.microsoft.com/dotnet/sdk:6.0-jammy # Ubuntu 22.04 + - image: mcr.microsoft.com/dotnet/sdk:8.0 steps: - attach_workspace: at: /tmp/workspace @@ -840,9 +845,9 @@ jobs: cp /tmp/workspace/runtimes/linux-x64/*.so runtimes/linux-x64/native/ mkdir -p runtimes/win-x64/native cp /tmp/workspace/runtimes/win-x64/*.dll runtimes/win-x64/native/ - mkdir -p runtimes/osx/native - cp /tmp/workspace/runtimes/osx-x64/*.dylib runtimes/osx/native/ - cp /tmp/workspace/runtimes/osx-x64/*.metal runtimes/osx/native/ + #mkdir -p runtimes/osx/native + #cp /tmp/workspace/runtimes/osx-x64/*.dylib runtimes/osx/native/ + #cp /tmp/workspace/runtimes/osx-x64/*.metal runtimes/osx/native/ dotnet pack ./Gpt4All/Gpt4All.csproj -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -c Release dotnet nuget push ./Gpt4All/bin/Release/Gpt4All.*.nupkg -s $NUGET_URL -k $NUGET_TOKEN --skip-duplicate - store_artifacts: @@ -1209,4 +1214,4 @@ workflows: - nuget-hold - build-csharp-windows - build-csharp-linux - - build-csharp-macos + #- build-csharp-macos diff --git a/gpt4all-bindings/csharp/Directory.Build.props b/gpt4all-bindings/csharp/Directory.Build.props index 75e32e34..8b307516 100644 --- a/gpt4all-bindings/csharp/Directory.Build.props +++ b/gpt4all-bindings/csharp/Directory.Build.props @@ -5,7 +5,7 @@ en-US - 0.6.3-alpha + 0.6.4-alpha $(VersionSuffix) $(Version)$(VersionSuffix) true diff --git a/gpt4all-bindings/csharp/Gpt4All.Samples/Gpt4All.Samples.csproj b/gpt4all-bindings/csharp/Gpt4All.Samples/Gpt4All.Samples.csproj index 39cc0da1..8e6d325a 100644 --- a/gpt4all-bindings/csharp/Gpt4All.Samples/Gpt4All.Samples.csproj +++ b/gpt4all-bindings/csharp/Gpt4All.Samples/Gpt4All.Samples.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable true diff --git a/gpt4all-bindings/csharp/Gpt4All.Tests/Gpt4All.Tests.csproj b/gpt4all-bindings/csharp/Gpt4All.Tests/Gpt4All.Tests.csproj index 05995c90..76f61f92 100644 --- a/gpt4all-bindings/csharp/Gpt4All.Tests/Gpt4All.Tests.csproj +++ b/gpt4all-bindings/csharp/Gpt4All.Tests/Gpt4All.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable false diff --git a/gpt4all-bindings/csharp/Gpt4All/Gpt4All.csproj b/gpt4all-bindings/csharp/Gpt4All/Gpt4All.csproj index d67b9b24..af338f82 100644 --- a/gpt4all-bindings/csharp/Gpt4All/Gpt4All.csproj +++ b/gpt4all-bindings/csharp/Gpt4All/Gpt4All.csproj @@ -1,10 +1,10 @@  - net6.0 enable enable true true + net8.0 diff --git a/gpt4all-bindings/csharp/Gpt4All/Model/Gpt4AllModelFactory.cs b/gpt4all-bindings/csharp/Gpt4All/Model/Gpt4AllModelFactory.cs index 8350a66a..938f44d8 100644 --- a/gpt4all-bindings/csharp/Gpt4All/Model/Gpt4AllModelFactory.cs +++ b/gpt4all-bindings/csharp/Gpt4All/Model/Gpt4AllModelFactory.cs @@ -32,7 +32,7 @@ public class Gpt4AllModelFactory : IGpt4AllModelFactory } } - private IGpt4AllModel CreateModel(string modelPath) + private Gpt4All CreateModel(string modelPath) { _logger.LogInformation("Creating model path={ModelPath}", modelPath); IntPtr error;