Bump bindgen from 0.69.2 to 0.69.4 #72
Workflow file for this run
This file contains 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
name: Llama Cpp Rs Check | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
check: | |
name: Run Tests on LLama Cpp Rs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
submodules: recursive | |
- name: Install Compile Deps | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | |
sudo apt-get update && sudo apt-get install -y build-essential curl libssl-dev libclang-dev pkg-config cmake git | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
- name: Clippy | |
run: cargo clippy | |
- name: Fmt | |
run: cargo fmt | |
- name: Test | |
run: cargo test | |
arm64: | |
name: Check that it builds on various targets | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: [ linux/arm64, linux/amd64 ] | |
steps: | |
- name: checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 | |
with: | |
platforms: arm64,amd64 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 | |
- name: Build | |
uses: docker/build-push-action@v5 | |
with: | |
file: test-build.Dockerfile | |
target: base-cuda | |
platforms: ${{ matrix.target }} | |
mac: | |
name: Check that it builds on mac | |
runs-on: macos-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
submodules: recursive | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Build | |
run: cargo build |