Skip to content

Commit 8d61a92

Browse files
authored
Merge branch 'SciSharp:master' into feature-llamareranker
2 parents 4258cc1 + d3dd2d0 commit 8d61a92

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/compile.yml

Lines changed: 10 additions & 10 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:
@@ -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-22.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-22.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-22.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-22.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-22.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-22.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)