chore: scaffold Rust workspace and native GPUI shell
Rust checks / checks (push) Successful in 3m35s
Rust checks / checks (push) Successful in 3m35s
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Rust checks
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
- uses: https://github.com/dtolnay/rust-toolchain@1.98.0
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
- name: Install native UI build dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential pkg-config libfontconfig1-dev libfreetype6-dev libwayland-dev libxcb1-dev libxkbcommon-dev libxkbcommon-x11-dev libssl-dev
|
||||
- name: Check formatting
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Check Rust
|
||||
run: cargo clippy --locked --workspace --all-targets -- -D warnings
|
||||
- name: Build
|
||||
run: cargo build --locked --workspace
|
||||
Reference in New Issue
Block a user