mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-09-11 13:25:35 +03:00
ci: explicitly build with 4 jobs on Linux (#2799)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
1f2294ed73
commit
80fd02bdbc
@ -343,9 +343,9 @@ jobs:
|
||||
cd build
|
||||
mkdir upload
|
||||
~/Qt/Tools/CMake/bin/cmake -DGPT4ALL_OFFLINE_INSTALLER=ON -DCMAKE_BUILD_TYPE=Release -S ../gpt4all-chat -B .
|
||||
~/Qt/Tools/CMake/bin/cmake --build . --target all
|
||||
~/Qt/Tools/CMake/bin/cmake --build . --target install
|
||||
~/Qt/Tools/CMake/bin/cmake --build . --target package
|
||||
~/Qt/Tools/CMake/bin/cmake --build . -j$(nproc) --target all
|
||||
~/Qt/Tools/CMake/bin/cmake --build . -j$(nproc) --target install
|
||||
~/Qt/Tools/CMake/bin/cmake --build . -j$(nproc) --target package
|
||||
cp gpt4all-installer-* upload
|
||||
- store_artifacts:
|
||||
path: build/upload
|
||||
@ -400,9 +400,9 @@ jobs:
|
||||
cd build
|
||||
mkdir upload
|
||||
~/Qt/Tools/CMake/bin/cmake -DGPT4ALL_OFFLINE_INSTALLER=OFF -DCMAKE_BUILD_TYPE=Release -S ../gpt4all-chat -B .
|
||||
~/Qt/Tools/CMake/bin/cmake --build . --target all
|
||||
~/Qt/Tools/CMake/bin/cmake --build . --target install
|
||||
~/Qt/Tools/CMake/bin/cmake --build . --target package
|
||||
~/Qt/Tools/CMake/bin/cmake --build . -j$(nproc) --target all
|
||||
~/Qt/Tools/CMake/bin/cmake --build . -j$(nproc) --target install
|
||||
~/Qt/Tools/CMake/bin/cmake --build . -j$(nproc) --target package
|
||||
cp gpt4all-installer-* upload
|
||||
tar -cvzf upload/repository.tar.gz -C _CPack_Packages/Linux/IFW/gpt4all-installer-linux repository
|
||||
- store_artifacts:
|
||||
@ -712,7 +712,7 @@ jobs:
|
||||
export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake
|
||||
export PATH=$PATH:/usr/local/cuda/bin
|
||||
~/Qt/Tools/CMake/bin/cmake -DCMAKE_BUILD_TYPE=Release -S gpt4all-chat -B build
|
||||
~/Qt/Tools/CMake/bin/cmake --build build --target all
|
||||
~/Qt/Tools/CMake/bin/cmake --build build -j$(nproc) --target all
|
||||
|
||||
build-gpt4all-chat-windows:
|
||||
machine:
|
||||
@ -890,7 +890,7 @@ jobs:
|
||||
git submodule update --init --recursive
|
||||
cd gpt4all-backend
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build --parallel
|
||||
cmake --build build -j$(nproc)
|
||||
- run:
|
||||
name: Build wheel
|
||||
command: |
|
||||
@ -1047,7 +1047,7 @@ jobs:
|
||||
mkdir -p runtimes/build
|
||||
cd runtimes/build
|
||||
cmake ../..
|
||||
cmake --build . --parallel --config Release
|
||||
cmake --build . -j$(nproc) --config Release
|
||||
mkdir ../linux-x64
|
||||
cp -L *.so ../linux-x64 # otherwise persist_to_workspace seems to mess symlinks
|
||||
- persist_to_workspace:
|
||||
|
Loading…
Reference in New Issue
Block a user