try fix dotnet tools path on osx + bugfix

This commit is contained in:
mvenditto 2023-06-16 22:30:55 +02:00 committed by AT
parent 54efa75c7d
commit 7805492c4f

View File

@ -16,7 +16,7 @@ parameters:
run-csharp-workflow:
type: boolean
default: false
jobs:
default-job:
docker:
@ -326,7 +326,7 @@ jobs:
name: Build C library
command: |
git submodule init
git submodule update
git submodule update --recursive
cd gpt4all-bindings/csharp
./build_linux.sh
- run:
@ -353,7 +353,7 @@ jobs:
command: |
cd gpt4all-bindings/csharp/Gpt4All.Tests
dotnet tool install -g trx2junit
export PATH="$PATH:/root/.dotnet/tools"
export PATH="$PATH:$HOME/.dotnet/tools"
trx2junit TestResults/*.trx
- store_test_results:
path: gpt4all-bindings/csharp/Gpt4All.Tests/TestResults
@ -472,7 +472,7 @@ jobs:
command: |
cd gpt4all-bindings/csharp/Gpt4All.Tests
dotnet tool install -g trx2junit
export PATH="$PATH:/root/.dotnet/tools"
export PATH="$PATH:$HOME/.dotnet/tools"
trx2junit TestResults/*.trx
- store_test_results:
path: gpt4all-bindings/csharp/Gpt4All.Tests/TestResults