Support backend OpenVINO #44
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Fast build + unit gate on GitHub-hosted runners. The heavier cross-platform | |
| # LIBERO regression sweep lives in vla-ci.yml (self-hosted). | |
| name: build | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: build-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| cpp-unit: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Compiled directly: pure, no llama.cpp or protobuf/zmq needed. | |
| - name: pure unit tests | |
| run: | | |
| for t in test_vision_common test_rope_conventions; do | |
| g++ -std=c++17 -Isrc -Wall -Wextra -fsanitize=address,undefined \ | |
| -fno-omit-frame-pointer "tests/$t.cpp" -o "/tmp/$t" | |
| "/tmp/$t" | |
| done | |
| py-tooling: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: converter remap | |
| run: python tests/py/test_converters.py | |
| - name: binding struct parity | |
| run: python tests/py/test_bindings.py | |
| build-gate: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: deps | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y -qq --no-install-recommends \ | |
| build-essential cmake git ca-certificates pkg-config \ | |
| libzmq3-dev cppzmq-dev libprotobuf-dev protobuf-compiler | |
| - uses: actions/cache@v4 | |
| with: | |
| path: build/_deps | |
| key: llama-b10331-${{ runner.os }} | |
| # Everything, not a target list: ctest registers tests this job must build, | |
| # and a named list goes stale the next time one is added. | |
| - name: build + ctest (CPU, -Wall -Wextra) | |
| run: | | |
| cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=OFF -DVLA_BUILD_TESTS=ON | |
| cmake --build build -j"$(nproc)" | |
| ctest --test-dir build --output-on-failure |