Skip to content

Commit c2ce6c4

Browse files
authored
fix CUDA CI by using a windows-2019 image (ggml-org#7861)
* try to fix CUDA ci with --allow-unsupported-compiler * trigger when build.yml changes * another test * try exllama/bdashore3 method * install vs build tools before cuda toolkit * try win-2019
1 parent b61eb96 commit c2ce6c4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m']
1414
pull_request:
1515
types: [opened, synchronize, reopened]
16-
paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m']
16+
paths: ['.github/workflows/build.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.cuh', '**/*.swift', '**/*.m']
1717

1818
concurrency:
1919
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
@@ -684,7 +684,7 @@ jobs:
684684
cmake --build build --config ${{ matrix.build }} -j $(nproc)
685685
686686
windows-latest-cmake:
687-
runs-on: windows-latest
687+
runs-on: windows-2019
688688

689689
env:
690690
OPENBLAS_VERSION: 0.3.23
@@ -829,7 +829,7 @@ jobs:
829829
name: llama-bin-win-${{ matrix.build }}.zip
830830

831831
windows-latest-cmake-cuda:
832-
runs-on: windows-latest
832+
runs-on: windows-2019
833833

834834
strategy:
835835
matrix:
@@ -843,8 +843,9 @@ jobs:
843843
with:
844844
fetch-depth: 0
845845

846-
- uses: Jimver/cuda-toolkit@v0.2.11
846+
- name: Install CUDA toolkit
847847
id: cuda-toolkit
848+
uses: Jimver/[email protected]
848849
with:
849850
cuda: ${{ matrix.cuda }}
850851
method: 'network'

0 commit comments

Comments
 (0)