mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-09-30 03:21:18 +02:00
ci : cover GGML_BACKEND_DL in ubuntu-22-clang-arm64 (#4047)
* ci : cover GGML_BACKEND_DL in ubuntu-22-clang-arm64 * ci : use suggested matrix for backend dl build
This commit is contained in:
@@ -87,12 +87,17 @@ jobs:
|
|||||||
ctest -L gh --output-on-failure'
|
ctest -L gh --output-on-failure'
|
||||||
|
|
||||||
ubuntu-22-clang-arm64:
|
ubuntu-22-clang-arm64:
|
||||||
|
name: ubuntu-22-clang-arm64 (${{ matrix.build }}, backend DL ${{ matrix.backend_dl }})
|
||||||
runs-on: ubuntu-22.04-arm
|
runs-on: ubuntu-22.04-arm
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
build: [Debug, Release]
|
build: [Debug, Release]
|
||||||
|
backend_dl: ['OFF']
|
||||||
|
include:
|
||||||
|
- build: Debug
|
||||||
|
backend_dl: 'ON'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
@@ -101,7 +106,7 @@ jobs:
|
|||||||
- name: ccache
|
- name: ccache
|
||||||
uses: ggml-org/ccache-action@v1.2.21
|
uses: ggml-org/ccache-action@v1.2.21
|
||||||
with:
|
with:
|
||||||
key: clang-arm64-${{ matrix.build }}
|
key: clang-arm64-${{ matrix.build }}-dl-${{ matrix.backend_dl }}
|
||||||
evict-old-files: 1d
|
evict-old-files: 1d
|
||||||
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
|
|
||||||
@@ -116,6 +121,7 @@ jobs:
|
|||||||
-DCMAKE_BUILD_TYPE=${{ matrix.build }} \
|
-DCMAKE_BUILD_TYPE=${{ matrix.build }} \
|
||||||
-DCMAKE_CXX_COMPILER=clang++ \
|
-DCMAKE_CXX_COMPILER=clang++ \
|
||||||
-DCMAKE_C_COMPILER=clang \
|
-DCMAKE_C_COMPILER=clang \
|
||||||
|
-DGGML_BACKEND_DL=${{ matrix.backend_dl }} \
|
||||||
-DGGML_NATIVE=OFF \
|
-DGGML_NATIVE=OFF \
|
||||||
-DGGML_CPU_ARM_ARCH=armv8-a
|
-DGGML_CPU_ARM_ARCH=armv8-a
|
||||||
make
|
make
|
||||||
|
|||||||
Reference in New Issue
Block a user