Skip to content

Commit 315a681

Browse files
committed
Adjust workflow.yml
1 parent 53a3438 commit 315a681

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/llama_cpp_plugin_build_and_test.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,36 @@
1-
name: precommit
1+
name: llama_cpp_plugin_build_and_test
22

33
on:
44
pull_request:
55
types:
66
- opened
77
- reopened
88
- synchronize
9-
paths:
10-
- 'modules/llama_cpp_plugin/**'
9+
paths:
10+
- 'modules/llama_cpp_plugin/**'
1111

1212
jobs:
1313
build_ubuntu20:
1414
runs-on: ubuntu-20.04
1515
steps:
16-
- name: Setup cmake
17-
uses: jwlawson/actions-setup-cmake@v1.14
18-
with:
19-
cmake-version: '3.24.x'
16+
- name: Setup cmake
17+
uses: jwlawson/actions-setup-cmake@v1.14
18+
with:
19+
cmake-version: '3.24.x'
2020

2121
- name: Checkout openvino_contrib
2222
uses: actions/checkout@v3
23-
submodules: recursive
23+
with:
24+
submodules: recursive
2425

2526
- name: Checkout openvino
2627
uses: actions/checkout@v3
27-
submodules: recursive
28-
repository: https://github.com/vshampor/openvino
28+
with:
29+
submodules: recursive
30+
repository: https://github.com/vshampor/openvino
2931

3032
- name: CMake - configure
31-
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DOPENVINO_EXTRA_MODULES=${{ github.workspace }}/openvino_contrib/modules -DBUILD_java_api=OFF -DBUILD_nvidia_plugin=OFF -DBUILD_custom_operations=OFF -DBUILD_openvino_code=OFF -DBUILD_token_merging=OFF -DENABLE_TESTS=ON -DENABLE_FUNCTIONAL_TESTS=ON -DENABLE_PLUGINS_XML=ON .
33+
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DOPENVINO_EXTRA_MODULES=${{ github.workspace }}/openvino_contrib/modules -DBUILD_java_api=OFF -DBUILD_nvidia_plugin=OFF -DBUILD_custom_operations=OFF -DBUILD_openvino_code=OFF -DBUILD_token_merging=OFF -DENABLE_TESTS=ON -DENABLE_FUNCTIONAL_TESTS=ON -DENABLE_PLUGINS_XML=ON openvino
3234

3335
- name: CMake - build
3436
run: cmake --build build -j`nproc` -- llama_cpp_plugin llama_cpp_e2e_tests

0 commit comments

Comments
 (0)