remove .exe after dotnet + fix cwd

This commit is contained in:
mvenditto 2023-06-15 20:26:34 +01:00 committed by AT
parent 691e4cf6e0
commit 9bb3000bdb

View File

@ -332,7 +332,8 @@ jobs:
- run: - run:
name: "Install project dependencies" name: "Install project dependencies"
command: | command: |
dotnet.exe restore Gpt4All cd gpt4all-bindings/csharp
dotnet restore Gpt4All
- save_cache: - save_cache:
paths: paths:
- ~/.nuget/packages - ~/.nuget/packages
@ -340,10 +341,12 @@ jobs:
- run: - run:
name: "Run C# Tests" name: "Run C# Tests"
command: | command: |
dotnet.exe test -v n --filter --filter SKIP_ON_CI=False cd gpt4all-bindings/csharp
dotnet test -v n --filter --filter SKIP_ON_CI=False
- run: - run:
name: Build C# Project name: Build C# Project
command: | command: |
cd gpt4all-bindings/csharp
dotnet build Gpt4All --configuration Release dotnet build Gpt4All --configuration Release
- persist_to_workspace: - persist_to_workspace:
root: gpt4all-bindings/csharp/runtimes/linux-x64/native root: gpt4all-bindings/csharp/runtimes/linux-x64/native