mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-21 13:10:35 +00:00
add --nologo to suppress welcome message + cleanup
This commit is contained in:
parent
a2d59b09e5
commit
6e044e1a89
@ -316,7 +316,7 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- gpt4all-csharp-bindings
|
- gpt4all-csharp-nuget-packages-nix
|
||||||
- run:
|
- run:
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
command: |
|
command: |
|
||||||
@ -337,19 +337,19 @@ jobs:
|
|||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- ~/.nuget/packages
|
- ~/.nuget/packages
|
||||||
key: gpt4all-csharp-bindings
|
key: gpt4all-csharp-nuget-packages-nix
|
||||||
- run:
|
- run:
|
||||||
name: Build C# Project
|
name: Build C# Project
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp
|
cd gpt4all-bindings/csharp
|
||||||
dotnet build Gpt4All --configuration Release
|
dotnet build Gpt4All --configuration Release --nologo
|
||||||
- run:
|
- run:
|
||||||
name: "Run C# Tests"
|
name: "Run C# Tests"
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp
|
cd gpt4all-bindings/csharp
|
||||||
dotnet test Gpt4All.Tests -v n --filter "SKIP_ON_CI!=True" --logger "trx"
|
dotnet test Gpt4All.Tests -v n -c Release --no-build --filter "SKIP_ON_CI!=True" --logger "trx"
|
||||||
- run:
|
- run:
|
||||||
name: test results
|
name: Test results
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp/Gpt4All.Tests
|
cd gpt4all-bindings/csharp/Gpt4All.Tests
|
||||||
dotnet tool install -g trx2junit
|
dotnet tool install -g trx2junit
|
||||||
@ -401,14 +401,14 @@ jobs:
|
|||||||
name: Build C# Project
|
name: Build C# Project
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp
|
cd gpt4all-bindings/csharp
|
||||||
dotnet.exe build Gpt4All --configuration Release
|
dotnet.exe build Gpt4All --configuration Release --nologo
|
||||||
- run:
|
- run:
|
||||||
name: "Run C# Tests"
|
name: "Run C# Tests"
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp
|
cd gpt4all-bindings/csharp
|
||||||
dotnet.exe test Gpt4All.Tests -v n --filter "SKIP_ON_CI!=True" --logger "trx"
|
dotnet.exe test Gpt4All.Tests -v n -c Release --no-build --filter "SKIP_ON_CI!=True" --logger "trx"
|
||||||
- run:
|
- run:
|
||||||
name: test results
|
name: Test results
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp/Gpt4All.Tests
|
cd gpt4all-bindings/csharp/Gpt4All.Tests
|
||||||
dotnet tool install -g trx2junit
|
dotnet tool install -g trx2junit
|
||||||
@ -428,7 +428,7 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- gpt4all-csharp-bindings
|
- gpt4all-csharp-nuget-packages-nix
|
||||||
- run:
|
- run:
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
command: |
|
command: |
|
||||||
@ -458,24 +458,24 @@ jobs:
|
|||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- ~/.nuget/packages
|
- ~/.nuget/packages
|
||||||
key: gpt4all-csharp-bindings
|
key: gpt4all-csharp-nuget-packages-nix
|
||||||
- run:
|
- run:
|
||||||
name: Build C# Project
|
name: Build C# Project
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp
|
cd gpt4all-bindings/csharp
|
||||||
$HOME/cli-tools/dotnet build Gpt4All --configuration Release
|
$HOME/cli-tools/dotnet build Gpt4All --configuration Release --nologo
|
||||||
- run:
|
- run:
|
||||||
name: "Run C# Tests"
|
name: "Run C# Tests"
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp
|
cd gpt4all-bindings/csharp
|
||||||
$HOME/cli-tools/dotnet test Gpt4All.Tests -v n --filter "SKIP_ON_CI!=True" --logger "trx"
|
$HOME/cli-tools/dotnet test Gpt4All.Tests -v n -c Release --no-build --filter "SKIP_ON_CI!=True" --logger "trx"
|
||||||
- run:
|
- run:
|
||||||
name: test results
|
name: Test results
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp/Gpt4All.Tests
|
cd gpt4all-bindings/csharp/Gpt4All.Tests
|
||||||
$HOME/cli-tools/dotnet tool install -g trx2junit
|
$HOME/cli-tools/dotnet tool install -g trx2junit
|
||||||
export PATH="$PATH:$HOME/.dotnet/tools"
|
export PATH="$PATH:$HOME/.dotnet/tools"
|
||||||
ls $HOME/.dotnet/tools
|
export PATH="$PATH:$HOME/cli-tools"
|
||||||
trx2junit TestResults/*.trx
|
trx2junit TestResults/*.trx
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: gpt4all-bindings/csharp/Gpt4All.Tests/TestResults
|
path: gpt4all-bindings/csharp/Gpt4All.Tests/TestResults
|
||||||
|
Loading…
Reference in New Issue
Block a user