fix cmakelist path

This commit is contained in:
mvenditto 2023-06-20 21:45:47 +02:00 committed by AT
parent 0277e8400a
commit 380bbcf18f

View File

@ -330,7 +330,7 @@ jobs:
cd gpt4all-backend cd gpt4all-backend
mkdir -p runtimes/linux-x64 mkdir -p runtimes/linux-x64
cd runtimes/linux-x64 cd runtimes/linux-x64
cmake .. cmake ../..
cmake --build . --parallel --config Release cmake --build . --parallel --config Release
- persist_to_workspace: - persist_to_workspace:
root: gpt4all-backend root: gpt4all-backend
@ -357,7 +357,7 @@ jobs:
cd gpt4all-backend cd gpt4all-backend
mkdir -p runtimes/osx-x64 mkdir -p runtimes/osx-x64
cd runtimes/osx-x64 cd runtimes/osx-x64
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" cmake ../.. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
cmake --build . --parallel --config Release cmake --build . --parallel --config Release
- persist_to_workspace: - persist_to_workspace:
root: gpt4all-backend root: gpt4all-backend
@ -392,7 +392,7 @@ jobs:
cd gpt4all-backend cd gpt4all-backend
mkdir runtimes/win-x64 mkdir runtimes/win-x64
cd runtimes/win-x64 cd runtimes/win-x64
cmake -G "MinGW Makefiles" .. && cmake -G "MinGW Makefiles" ../..
cmake --build . --parallel --config Release cmake --build . --parallel --config Release
cp "$MinGWBin\libgcc*.dll" . cp "$MinGWBin\libgcc*.dll" .
cp "$MinGWBin\libstdc++*.dll" . cp "$MinGWBin\libstdc++*.dll" .
@ -426,7 +426,7 @@ jobs:
cd gpt4all-backend cd gpt4all-backend
mkdir runtimes/win-x64_msvc mkdir runtimes/win-x64_msvc
cd runtimes/win-x64_msvc cd runtimes/win-x64_msvc
cmake -G "Visual Studio 17 2022" -A X64 .. cmake -G "Visual Studio 17 2022" -A X64 ../..
cmake --build . --parallel --config Release cmake --build . --parallel --config Release
cp bin/Release/*.dll . cp bin/Release/*.dll .
- persist_to_workspace: - persist_to_workspace: