3535
3636jobs :
3737 ubuntu-24-openvino :
38- name : ubuntu-24-openvino-${{ matrix.openvino_device }}
38+ runs-on : [self-hosted, Linux, Intel, OpenVINO]
3939
4040 concurrency :
41- group : openvino-${{ matrix.variant }} -${{ github.head_ref || github.ref }}
41+ group : openvino-gpu -${{ github.head_ref || github.ref }}
4242 cancel-in-progress : false
4343
44- strategy :
45- matrix :
46- include :
47- - variant : cpu
48- runner : ' "ubuntu-24.04"'
49- openvino_device : " CPU"
50- - variant : gpu
51- runner : ' ["self-hosted","Linux","Intel","OpenVINO"]'
52- openvino_device : " GPU"
53-
54- runs-on : ${{ fromJSON(matrix.runner) }}
55-
5644 env :
5745 # Sync versions in build-openvino.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
5846 OPENVINO_VERSION_MAJOR : " 2026.0"
@@ -63,31 +51,14 @@ jobs:
6351 id : checkout
6452 uses : actions/checkout@v6
6553
66- - name : ccache
67- if : runner.environment == 'github-hosted'
68- uses : ggml-org/ccache-action@v1.2.21
69- with :
70- key : openvino-ubuntu-24.04-${{ matrix.variant }}-no-preset-v1
71- evict-old-files : 1d
72- save : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
73-
7454 - name : Dependencies
7555 id : depends
7656 run : |
7757 sudo apt-get update
7858 sudo apt-get install -y build-essential libssl-dev libtbb12 cmake ninja-build python3-pip
7959 sudo apt-get install -y ocl-icd-opencl-dev opencl-headers opencl-clhpp-headers intel-opencl-icd
8060
81- - name : Use OpenVINO Toolkit Cache
82- if : runner.environment == 'github-hosted'
83- uses : actions/cache@v5
84- id : cache-openvino
85- with :
86- path : ./openvino_toolkit
87- key : cache-gha-openvino-toolkit-v${{ env.OPENVINO_VERSION_FULL }}-${{ runner.os }}
88-
8961 - name : Setup OpenVINO Toolkit
90- if : steps.cache-openvino.outputs.cache-hit != 'true'
9162 uses : ./.github/actions/linux-setup-openvino
9263 with :
9364 path : ./openvino_toolkit
@@ -109,12 +80,17 @@ jobs:
10980 -DGGML_OPENVINO=ON
11081 time cmake --build build/ReleaseOV --config Release -j $(nproc)
11182
112- - name : Test
113- id : cmake_test
83+ - name : Test (CPU)
84+ id : cmake_test_cpu
85+ # TODO: fix and re-enable the `test-llama-archs` test below
86+ run : |
87+ cd ${{ github.workspace }}
88+ ctest --test-dir build/ReleaseOV -L main -E "test-llama-archs" --verbose --timeout 2000
89+
90+ - name : Test (GPU)
91+ id : cmake_test_gpu
11492 # TODO: fix and re-enable the `test-llama-archs` test below
11593 run : |
11694 cd ${{ github.workspace }}
117- if [ "${{ matrix.openvino_device }}" = "GPU" ]; then
118- export GGML_OPENVINO_DEVICE=GPU
119- fi
95+ export GGML_OPENVINO_DEVICE=GPU
12096 ctest --test-dir build/ReleaseOV -L main -E "test-llama-archs" --verbose --timeout 2000
0 commit comments