Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ CMAKE_GENERATOR = "Ninja"
# fix is off. It applies in every profile too, so a debuggable C++ dependency
# on Windows means building with CL cleared.
CL = "/O2"

# The vendored wgpu-hal / imgui-wgpu declare rust-version 1.87 (their upstream
# MSRV), and resolver 3 then holds every dependency back to versions that
# build on 1.87 — silently, including security fixes (time 0.3.47). This
# workspace builds and tests on current stable, so resolve against that.
[resolver]
incompatible-rust-versions = "allow"
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,17 @@ jobs:
# v4l/udev webcam path (nokhwa). mesa-vulkan-drivers gives wgpu a software
# (lavapipe) adapter so rustjay-projection's GPU tests run on the headless runner.
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libasound2-dev libudev-dev pkg-config clang ninja-build mesa-vulkan-drivers libvulkan1
run: sudo apt-get update && sudo apt-get install -y libasound2-dev libudev-dev pkg-config clang ninja-build mesa-vulkan-drivers libvulkan1 libwayland-dev
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo clippy --workspace --all-targets -- -D warnings
# The Linux-only GLES2/EGL path (Raspberry Pi) is off by default, so the
# workspace run never compiles it; it once shipped a syntax error unnoticed.
- run: cargo clippy -p rustjay-engine --lib --features gles2 -- -D warnings
- run: cargo test --workspace
# The kittest UI suites hide behind off-by-default features, so the
# workspace run above never executes them: rustjay-gui's tests need `egui`.
Expand Down
Loading
Loading