Skip to content

Commit 94b9f13

Browse files
authored
Merge pull request SciSharp#1162 from martindevans/compile_recent_ubuntu
CI Ubuntu-24.04
2 parents 05968ab + cfa2c29 commit 94b9f13

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/compile.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
defines: '-DGGML_AVX2=OFF'
3535
- build: 'avx512'
3636
defines: '-DGGML_AVX512=ON'
37-
runs-on: ubuntu-20.04
37+
runs-on: ubuntu-24.04
3838
steps:
3939
- uses: actions/checkout@v4
4040
with:
@@ -90,7 +90,7 @@ jobs:
9090
defines: '-DGGML_AVX2=OFF'
9191
- build: 'avx512'
9292
defines: '-DGGML_AVX512=ON'
93-
runs-on: ubuntu-20.04
93+
runs-on: ubuntu-24.04
9494
container:
9595
image: alpine:latest
9696
steps:
@@ -334,7 +334,7 @@ jobs:
334334
strategy:
335335
fail-fast: false
336336
matrix:
337-
os: [ubuntu-20.04, windows-2019]
337+
os: [ubuntu-24.04, windows-2019]
338338
cuda: ['12.2.0', '11.7.1']
339339
runs-on: ${{ matrix.os }}
340340
steps:
@@ -409,35 +409,35 @@ jobs:
409409
if-no-files-found: error
410410

411411
- name: Upload artifacts (Linux)
412-
if: ${{ matrix.os == 'ubuntu-20.04' }}
412+
if: ${{ matrix.os == 'ubuntu-24.04' }}
413413
uses: actions/upload-artifact@v4
414414
with:
415415
path: ./build/bin/libllama.so
416416
name: llama-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
417417
if-no-files-found: error
418418
- name: Upload artifacts ggml (Linux)
419-
if: ${{ matrix.os == 'ubuntu-20.04' }}
419+
if: ${{ matrix.os == 'ubuntu-24.04' }}
420420
uses: actions/upload-artifact@v4
421421
with:
422422
path: ./build/bin/libggml.so
423423
name: ggml-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
424424
if-no-files-found: error
425425
- name: Upload artifacts ggml-base (Linux)
426-
if: ${{ matrix.os == 'ubuntu-20.04' }}
426+
if: ${{ matrix.os == 'ubuntu-24.04' }}
427427
uses: actions/upload-artifact@v4
428428
with:
429429
path: ./build/bin/libggml-base.so
430430
name: ggml-base-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
431431
if-no-files-found: error
432432
- name: Upload artifacts ggml-cuda (Linux)
433-
if: ${{ matrix.os == 'ubuntu-20.04' }}
433+
if: ${{ matrix.os == 'ubuntu-24.04' }}
434434
uses: actions/upload-artifact@v4
435435
with:
436436
path: ./build/bin/libggml-cuda.so
437437
name: ggml-cuda-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
438438
if-no-files-found: error
439439
- name: Upload llava artifacts (Linux)
440-
if: ${{ matrix.os == 'ubuntu-20.04' }}
440+
if: ${{ matrix.os == 'ubuntu-24.04' }}
441441
uses: actions/upload-artifact@v4
442442
with:
443443
path: ./build/bin/libllava_shared.so
@@ -540,7 +540,7 @@ jobs:
540540
defines: '-DANDROID_ABI=x86_64'
541541
- build: 'arm64-v8a'
542542
defines: '-DANDROID_ABI=arm64-v8a'
543-
runs-on: ubuntu-20.04
543+
runs-on: ubuntu-24.04
544544
steps:
545545
- uses: actions/checkout@v4
546546
with:

0 commit comments

Comments
 (0)