Skip to content

Do not rerun llama_cpp_sys build on changed header files #29

Do not rerun llama_cpp_sys build on changed header files

Do not rerun llama_cpp_sys build on changed header files #29

Workflow file for this run

name: Rust
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update submodules
run: git submodule update --init --recursive
- name: Build
run: cargo build --verbose
- name: Run tests
run: mkdir /tmp/models && cargo test --verbose
env:
LLAMA_CPP_TEST_MODELS: "/tmp/models"