ci: fix build timeouts (#3010)

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel 2024-09-30 18:55:43 -04:00 committed by GitHub
parent e190fd0204
commit 38140b2886
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -741,6 +741,7 @@ jobs:
./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.48 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-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.48 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
- run: - run:
name: Build name: Build
no_output_timeout: 30m
command: | command: |
export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake
export PATH=$PATH:/usr/local/cuda/bin export PATH=$PATH:/usr/local/cuda/bin
@ -797,6 +798,7 @@ jobs:
.\cuda_11.8.0_windows_network.exe -s cudart_11.8 nvcc_11.8 cublas_11.8 cublas_dev_11.8 .\cuda_11.8.0_windows_network.exe -s cudart_11.8 nvcc_11.8 cublas_11.8 cublas_dev_11.8
- run: - run:
name: Build name: Build
no_output_timeout: 30m
command: | command: |
$vsInstallPath = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property installationpath $vsInstallPath = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property installationpath
Import-Module "${vsInstallPath}\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" Import-Module "${vsInstallPath}\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
@ -850,6 +852,7 @@ jobs:
hdiutil detach /Volumes/qt-unified-macOS-x64-4.6.0-online hdiutil detach /Volumes/qt-unified-macOS-x64-4.6.0-online
- run: - run:
name: Build name: Build
no_output_timeout: 30m
command: | command: |
ccache -o "cache_dir=${PWD}/../.ccache" -o max_size=500M -p -z ccache -o "cache_dir=${PWD}/../.ccache" -o max_size=500M -p -z
~/Qt/Tools/CMake/CMake.app/Contents/bin/cmake \ ~/Qt/Tools/CMake/CMake.app/Contents/bin/cmake \
@ -942,6 +945,7 @@ jobs:
pip install setuptools wheel cmake pip install setuptools wheel cmake
- run: - run:
name: Build C library name: Build C library
no_output_timeout: 30m
command: | command: |
export PATH=$PATH:/usr/local/cuda/bin export PATH=$PATH:/usr/local/cuda/bin
git submodule update --init --recursive git submodule update --init --recursive
@ -991,6 +995,7 @@ jobs:
pip install setuptools wheel cmake pip install setuptools wheel cmake
- run: - run:
name: Build C library name: Build C library
no_output_timeout: 30m
command: | command: |
git submodule update --init # don't use --recursive because macOS doesn't use Kompute git submodule update --init # don't use --recursive because macOS doesn't use Kompute
ccache -o "cache_dir=${PWD}/../.ccache" -o max_size=500M -p -z ccache -o "cache_dir=${PWD}/../.ccache" -o max_size=500M -p -z
@ -1055,6 +1060,7 @@ jobs:
command: pip install setuptools wheel cmake command: pip install setuptools wheel cmake
- run: - run:
name: Build C library name: Build C library
no_output_timeout: 30m
command: | command: |
$vsInstallPath = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property installationpath $vsInstallPath = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property installationpath
Import-Module "${vsInstallPath}\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" Import-Module "${vsInstallPath}\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
@ -1138,6 +1144,7 @@ jobs:
sudo apt-get install -y "${packages[@]}" sudo apt-get install -y "${packages[@]}"
- run: - run:
name: Build Libraries name: Build Libraries
no_output_timeout: 30m
command: | command: |
export PATH=$PATH:/usr/local/cuda/bin export PATH=$PATH:/usr/local/cuda/bin
ccache -o "cache_dir=${PWD}/../.ccache" -o max_size=500M -p -z ccache -o "cache_dir=${PWD}/../.ccache" -o max_size=500M -p -z
@ -1186,6 +1193,7 @@ jobs:
brew install ccache cmake brew install ccache cmake
- run: - run:
name: Build Libraries name: Build Libraries
no_output_timeout: 30m
command: | command: |
ccache -o "cache_dir=${PWD}/../.ccache" -o max_size=500M -p -z ccache -o "cache_dir=${PWD}/../.ccache" -o max_size=500M -p -z
cd gpt4all-backend cd gpt4all-backend
@ -1246,6 +1254,7 @@ jobs:
choco install -y ccache cmake ninja --installargs 'ADD_CMAKE_TO_PATH=System' choco install -y ccache cmake ninja --installargs 'ADD_CMAKE_TO_PATH=System'
- run: - run:
name: Build Libraries name: Build Libraries
no_output_timeout: 30m
command: | command: |
$vsInstallPath = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property installationpath $vsInstallPath = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property installationpath
Import-Module "${vsInstallPath}\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" Import-Module "${vsInstallPath}\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"