Skip to content

Commit 47f90c4

Browse files
authored
Merge branch 'master' into master
2 parents dfb3cc9 + d3dd2d0 commit 47f90c4

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
@@ -17,7 +17,7 @@ concurrency:
1717

1818
env:
1919
# Compiler defines common to all platforms
20-
COMMON_DEFINE: -DGGML_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_EXAMPLES=ON -DLLAMA_BUILD_SERVER=OFF -DBUILD_SHARED_LIBS=ON
20+
COMMON_DEFINE: -DGGML_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_EXAMPLES=ON -DLLAMA_BUILD_SERVER=OFF -DBUILD_SHARED_LIBS=ON -DLLAMA_CURL=OFF
2121

2222
jobs:
2323
compile-linux:
@@ -102,7 +102,7 @@ jobs:
102102
defines: '-DGGML_AVX2=OFF'
103103
- build: 'avx512'
104104
defines: '-DGGML_AVX512=ON'
105-
runs-on: ubuntu-20.04
105+
runs-on: ubuntu-24.04
106106
container:
107107
image: alpine:latest
108108
steps:
@@ -346,7 +346,7 @@ jobs:
346346
strategy:
347347
fail-fast: false
348348
matrix:
349-
os: [ubuntu-20.04, windows-2019]
349+
os: [ubuntu-22.04, windows-2019]
350350
cuda: ['12.2.0', '11.7.1']
351351
runs-on: ${{ matrix.os }}
352352
steps:
@@ -421,35 +421,35 @@ jobs:
421421
if-no-files-found: error
422422

423423
- name: Upload artifacts (Linux)
424-
if: ${{ matrix.os == 'ubuntu-20.04' }}
424+
if: ${{ matrix.os == 'ubuntu-22.04' }}
425425
uses: actions/upload-artifact@v4
426426
with:
427427
path: ./build/bin/libllama.so
428428
name: llama-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
429429
if-no-files-found: error
430430
- name: Upload artifacts ggml (Linux)
431-
if: ${{ matrix.os == 'ubuntu-20.04' }}
431+
if: ${{ matrix.os == 'ubuntu-22.04' }}
432432
uses: actions/upload-artifact@v4
433433
with:
434434
path: ./build/bin/libggml.so
435435
name: ggml-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
436436
if-no-files-found: error
437437
- name: Upload artifacts ggml-base (Linux)
438-
if: ${{ matrix.os == 'ubuntu-20.04' }}
438+
if: ${{ matrix.os == 'ubuntu-22.04' }}
439439
uses: actions/upload-artifact@v4
440440
with:
441441
path: ./build/bin/libggml-base.so
442442
name: ggml-base-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
443443
if-no-files-found: error
444444
- name: Upload artifacts ggml-cuda (Linux)
445-
if: ${{ matrix.os == 'ubuntu-20.04' }}
445+
if: ${{ matrix.os == 'ubuntu-22.04' }}
446446
uses: actions/upload-artifact@v4
447447
with:
448448
path: ./build/bin/libggml-cuda.so
449449
name: ggml-cuda-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
450450
if-no-files-found: error
451451
- name: Upload llava artifacts (Linux)
452-
if: ${{ matrix.os == 'ubuntu-20.04' }}
452+
if: ${{ matrix.os == 'ubuntu-22.04' }}
453453
uses: actions/upload-artifact@v4
454454
with:
455455
path: ./build/bin/libllava_shared.so
@@ -552,7 +552,7 @@ jobs:
552552
defines: '-DANDROID_ABI=x86_64'
553553
- build: 'arm64-v8a'
554554
defines: '-DANDROID_ABI=arm64-v8a'
555-
runs-on: ubuntu-20.04
555+
runs-on: ubuntu-24.04
556556
steps:
557557
- uses: actions/checkout@v4
558558
with:

0 commit comments

Comments
 (0)