More circleci

This commit is contained in:
Adam Treat 2023-08-31 10:29:37 -04:00
parent 2f1c995739
commit 4521c71b4e

View File

@ -214,8 +214,10 @@ jobs:
- run:
name: Install dependencies
command: |
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
sudo apt-get update
sudo apt-get install -y cmake build-essential
sudo apt-get install -y cmake build-essential vulkan-sdk
pip install setuptools wheel cmake
- run:
name: Build C library
@ -281,7 +283,10 @@ jobs:
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:
Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/1.3.261.1/windows/VulkanSDK-1.3.261.1-Installer.exe -OutFile VulkanSDK-1.3.261.1-Installer.exe
VulkanSDK-1.3.261.1-Installer.exe --accept-licenses --default-answer --confirm-command install
choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System'
- run:
name: Install Python dependencies
command: pip install setuptools wheel cmake
@ -293,7 +298,7 @@ jobs:
cd gpt4all-backend
mkdir build
cd build
cmake -G "MinGW Makefiles" ..
cmake -G "MinGW Makefiles" ..
cmake --build . --parallel
- run:
name: Build wheel