From ae8bcd9eff440d0afc5661f74b9db066958a68c6 Mon Sep 17 00:00:00 2001 From: mvenditto Date: Fri, 16 Jun 2023 13:55:14 +0100 Subject: [PATCH] try to fix cmake not in path --- .circleci/continue_config.yml | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index bf7bc603..67125276 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -364,18 +364,18 @@ jobs: - run: name: Install MinGW64 command: choco install -y mingw --force --no-progress - - run: - name: Add MinGW64 to PATH - command: $env:Path += ";C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin" - run: name: Install dependencies - command: choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System' + command: | + choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System' - run: name: Build C library command: | git submodule init - git submodule update + git submodule update --recursive cd gpt4all-bindings/csharp + $env:Path += ";C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin" + $env.Path += ";C:\Program Files\CMake\bin" ./build_win-mingw.ps1 - run: name: "Install project dependencies" @@ -401,6 +401,18 @@ jobs: paths: - "*.dll" + store-and-upload-nupkgs: + docker: + - image: mcr.microsoft.com/dotnet/sdk:6.0-jammy # Ubuntu 22.04 + steps: + - setup_remote_docker + - attach_workspace: + at: /tmp/workspace + - run: + name: TEST - list libraries + command: | + ls -R /tmp/workspace + workflows: version: 2 default: @@ -479,4 +491,12 @@ workflows: branches: only: requires: - - hold \ No newline at end of file + - hold + - store-and-upload-nupkgs: + filters: + branches: + only: + requires: + - nuget-hold + - build-py-windows + - build-py-linux \ No newline at end of file