Linux / verify (push) Canceled after 0s
Linux / keyless-cuda (push) Canceled after 0s
Linux / static-cuda-package (push) Canceled after 0s
Linux / hosted-cuda-package (push) Canceled after 0s
Linux / linux-static-cli (push) Canceled after 0s
Linux / linux-cli-container (push) Canceled after 0s
Linux / release-cli (push) Canceled after 0s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
14 lines
1012 B
Docker
14 lines
1012 B
Docker
# Checks that the leleka workers and the control plane build on Linux x64 and that the unit tests of the runtime crates
|
|
# pass (tests that need a model or hardware skip themselves). The control plane's own tests need files that
|
|
# .dockerignore leaves out, so it is only built here.
|
|
# docker build -f deploy/Dockerfile.linux-check .
|
|
FROM rust:1.99-bookworm
|
|
RUN apt-get update && apt-get install -y --no-install-recommends cmake pkg-config && rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /src
|
|
COPY . .
|
|
RUN --mount=type=cache,target=/usr/local/cargo/registry --mount=type=cache,target=/src/target \
|
|
cargo test --release -p leleka-cpu-sys -p leleka-cpu-kernels -p leleka-gptoss -p leleka-cpu-worker -p leleka-gguf \
|
|
-p leleka-tokenizer -p leleka-shm -p leleka-npu-service -p leleka-gptoss-npu -p leleka-npu-worker \
|
|
-p leleka-igpu -p leleka-gptoss-igpu -p leleka-igpu-worker \
|
|
&& cargo build --release -p strata-control -p leleka-cpu-worker -p leleka-igpu-worker -p leleka-npu-worker -p leleka-npu-service
|