mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +00:00
try to fix cmake not in path
This commit is contained in:
parent
5fe4f25d64
commit
ae8bcd9eff
@ -364,18 +364,18 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Install MinGW64
|
name: Install MinGW64
|
||||||
command: choco install -y mingw --force --no-progress
|
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:
|
- run:
|
||||||
name: Install dependencies
|
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:
|
- run:
|
||||||
name: Build C library
|
name: Build C library
|
||||||
command: |
|
command: |
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update --recursive
|
||||||
cd gpt4all-bindings/csharp
|
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
|
./build_win-mingw.ps1
|
||||||
- run:
|
- run:
|
||||||
name: "Install project dependencies"
|
name: "Install project dependencies"
|
||||||
@ -401,6 +401,18 @@ jobs:
|
|||||||
paths:
|
paths:
|
||||||
- "*.dll"
|
- "*.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:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
default:
|
default:
|
||||||
@ -480,3 +492,11 @@ workflows:
|
|||||||
only:
|
only:
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- hold
|
||||||
|
- store-and-upload-nupkgs:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
requires:
|
||||||
|
- nuget-hold
|
||||||
|
- build-py-windows
|
||||||
|
- build-py-linux
|
Loading…
Reference in New Issue
Block a user