Add Makefile #56
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: CI | |
on: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: System dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libwayland-dev libasound2-dev libudev-dev | |
- name: Check formatting | |
run: cargo fmt --all -- --check | |
- name: Clippy | |
run: "BEVY_ASSET_PATH=$GITHUB_WORKSPACE/client/assets cargo clippy --workspace -- -D warnings" |