mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-29 12:53:48 +00:00
Stop using broken 3rd party actions
This commit is contained in:
parent
cc643d0f9a
commit
6fc3215f1d
68
.github/workflows/build-chat.yml
vendored
68
.github/workflows/build-chat.yml
vendored
@ -14,31 +14,17 @@ jobs:
|
|||||||
fetch_depth: 0
|
fetch_depth: 0
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Install QT
|
- name: Install QT
|
||||||
uses: jurplel/install-qt-action@v4
|
run: |
|
||||||
with:
|
Invoke-WebRequest -Uri https://gpt4all.io/ci/qt-unified-windows-x64-4.6.0-online.exe -OutFile qt-unified-windows-x64-4.6.0-online.exe
|
||||||
version: '5.15.11'
|
& .\qt-unified-windows-x64-4.6.0-online.exe --no-force-installations --no-default-installations --no-size-checking --default-answer --accept-licenses --confirm-command --accept-obligations --email ${Env:QT_EMAIL} --password ${Env:QT_PASSWORD} install qt.tools.cmake qt.tools.ifw.47 qt.tools.ninja qt.qt6.651.win64_msvc2019_64 qt.qt6.651.qt5compat qt.qt6.651.debug_info qt.qt6.651.addons.qtpdf qt.qt6.651.addons.qthttpserver
|
||||||
host: 'windows'
|
|
||||||
target: 'desktop'
|
|
||||||
arch: 'win64_msvc2013_64'
|
|
||||||
dir: '${{ github.workspace }}/Qt'
|
|
||||||
cache: true
|
|
||||||
tools: 'qt.tools.cmake qt.tools.ifw.47 qt.tools.ninja qt.qt6.651.win64_msvc2019_64 qt.qt6.651.qt5compat qt.qt6.651.debug_info qt.qt6.651.addons.qtpdf qt.qt6.651.addons.qthttpserver'
|
|
||||||
set-env: 'true'
|
|
||||||
tools-only: 'false'
|
|
||||||
- name: Install Vulkan
|
- name: Install Vulkan
|
||||||
uses: humbletim/setup-vulkan-sdk@v1.2.0
|
run: |
|
||||||
with:
|
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
|
||||||
vulkan-query-version: 1.3.261.1
|
.\VulkanSDK-1.3.261.1-Installer.exe --accept-licenses --default-answer --confirm-command install
|
||||||
vulkan-components: Vulkan-Headers, Vulkan-Loader
|
- name: Install CUDA
|
||||||
vulkan-use-cache: true
|
run: |
|
||||||
- name: Install CUDA ToolKit
|
Invoke-WebRequest -Uri https://developer.download.nvidia.com/compute/cuda/11.8.0/network_installers/cuda_11.8.0_windows_network.exe -OutFile cuda_11.8.0_windows_network.exe
|
||||||
uses: Jimver/cuda-toolkit@v0.2.16
|
.\cuda_11.8.0_windows_network.exe -s cudart_11.8 nvcc_11.8 cublas_11.8 cublas_dev_11.8
|
||||||
id: cuda-toolkit
|
|
||||||
with:
|
|
||||||
method: network
|
|
||||||
sub-packages: '["nvcc_11.8", "visual_studio_integration"]'
|
|
||||||
non-cuda-sub-packages: '["cudart_11.8", "cublas_11.8", "cublas_dev_11.8"]'
|
|
||||||
cuda: 11.8.0
|
|
||||||
- name: Build Chat
|
- name: Build Chat
|
||||||
run: |
|
run: |
|
||||||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON -S gpt4all-chat -B build
|
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON -S gpt4all-chat -B build
|
||||||
@ -54,19 +40,14 @@ jobs:
|
|||||||
- name: Setup XCode
|
- name: Setup XCode
|
||||||
run: sudo xcode-select -s '/Applications/Xcode_14.1.app'
|
run: sudo xcode-select -s '/Applications/Xcode_14.1.app'
|
||||||
- name: Install QT
|
- name: Install QT
|
||||||
uses: jurplel/install-qt-action@v4
|
run: |
|
||||||
with:
|
curl -o qt-unified-macOS-x64-4.6.0-online.dmg https://gpt4all.io/ci/qt-unified-macOS-x64-4.6.0-online.dmg
|
||||||
version: '5.15.11'
|
hdiutil attach qt-unified-macOS-x64-4.6.0-online.dmg
|
||||||
host: 'mac'
|
/Volumes/qt-unified-macOS-x64-4.6.0-online/qt-unified-macOS-x64-4.6.0-online.app/Contents/MacOS/qt-unified-macOS-x64-4.6.0-online --no-force-installations --no-default-installations --no-size-checking --default-answer --accept-licenses --confirm-command --accept-obligations --email $QT_EMAIL --password $QT_PASSWORD install qt.tools.cmake qt.tools.ifw.47 qt.tools.ninja qt.qt6.651.clang_64 qt.qt6.651.qt5compat qt.qt6.651.debug_info qt.qt6.651.addons.qtpdf qt.qt6.651.addons.qthttpserver
|
||||||
target: 'desktop'
|
hdiutil detach /Volumes/qt-unified-macOS-x64-4.6.0-online
|
||||||
arch: 'clang_64'
|
|
||||||
dir: '${{ github.workspace }}/Qt'
|
|
||||||
cache: true
|
|
||||||
tools: 'qt.tools.cmake qt.tools.ifw.47 qt.tools.ninja qt.qt6.651.clang_64 qt.qt6.651.qt5compat qt.qt6.651.debug_info qt.qt6.651.addons.qtpdf qt.qt6.651.addons.qthttpserver'
|
|
||||||
set-env: 'true'
|
|
||||||
tools-only: 'false'
|
|
||||||
- name: Install Rosetta
|
- name: Install Rosetta
|
||||||
run: softwareupdate --install-rosetta --agree-to-license
|
run: |
|
||||||
|
softwareupdate --install-rosetta --agree-to-license
|
||||||
- name: Build Chat
|
- name: Build Chat
|
||||||
run: |
|
run: |
|
||||||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -S gpt4all-chat -B build
|
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -S gpt4all-chat -B build
|
||||||
@ -80,17 +61,10 @@ jobs:
|
|||||||
fetch_depth: 0
|
fetch_depth: 0
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Install QT
|
- name: Install QT
|
||||||
uses: jurplel/install-qt-action@v4
|
run: |
|
||||||
with:
|
wget https://gpt4all.io/ci/qt-unified-linux-x64-4.6.0-online.run
|
||||||
version: '5.15.11'
|
chmod +x qt-unified-linux-x64-4.6.0-online.run
|
||||||
host: 'linux'
|
./qt-unified-linux-x64-4.6.0-online.run --no-force-installations --no-default-installations --no-size-checking --default-answer --accept-licenses --confirm-command --accept-obligations --email $QT_EMAIL --password $QT_PASSWORD install qt.tools.cmake qt.tools.ifw.47 qt.tools.ninja qt.qt6.651.gcc_64 qt.qt6.651.qt5compat qt.qt6.651.debug_info qt.qt6.651.addons.qtpdf qt.qt6.651.addons.qthttpserver qt.qt6.651.qtwaylandcompositor
|
||||||
target: 'desktop'
|
|
||||||
arch: 'gcc_64'
|
|
||||||
dir: '${{ github.workspace }}/Qt'
|
|
||||||
cache: true
|
|
||||||
tools: 'qt.tools.cmake qt.tools.ifw.47 qt.tools.ninja qt.qt6.651.gcc_64 qt.qt6.651.qt5compat qt.qt6.651.debug_info qt.qt6.651.addons.qtpdf qt.qt6.651.addons.qthttpserver qt.qt6.651.qtwaylandcompositor'
|
|
||||||
set-env: 'true'
|
|
||||||
tools-only: 'false'
|
|
||||||
- name: Install Vulkan + Cuda
|
- name: Install Vulkan + Cuda
|
||||||
run: |
|
run: |
|
||||||
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
|
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
|
||||||
|
Loading…
Reference in New Issue
Block a user