From 95651809b3efaf51f8d322e34485f88d1c6badcd Mon Sep 17 00:00:00 2001 From: mvenditto Date: Fri, 16 Jun 2023 19:22:14 +0100 Subject: [PATCH] try to fix dotnet install on macos --- .circleci/continue_config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index ef105928..d2f81e72 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -435,8 +435,9 @@ jobs: brew install cmake curl https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh -o dotnet-install.sh chmod +x dotnet-install.sh - ./dotnet-install.sh -Channel 6.0.1xx - dotnet --version + ./dotnet-install.sh --channel 6.0.1xx --install-dir $HOME/cli-tools + ls $HOME/cli-tools + $HOME/cli-tools/dotnet --version - run: name: Build C library command: | @@ -454,7 +455,7 @@ jobs: name: "Install project dependencies" command: | cd gpt4all-bindings/csharp - dotnet restore Gpt4All + $HOME/cli-tools/dotnet restore Gpt4All - save_cache: paths: - ~/.nuget/packages @@ -463,12 +464,12 @@ jobs: name: Build C# Project command: | cd gpt4all-bindings/csharp - dotnet build Gpt4All --configuration Release + $HOME/cli-tools/dotnet build Gpt4All --configuration Release - run: name: "Run C# Tests" command: | cd gpt4all-bindings/csharp - dotnet test Gpt4All.Tests -v n --filter "SKIP_ON_CI!=True" --logger "trx" + $HOME/cli-tools/dotnet test Gpt4All.Tests -v n --filter "SKIP_ON_CI!=True" --logger "trx" - run: name: test results command: |