Refactor layout state and metadata key handling #6
This file contains hidden or 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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| ci: | |
| name: ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Linux system dependencies | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| # Minimal set for bevy / wgpu builds (audio, input, windowing, pkg-config) | |
| sudo apt-get install -y --no-install-recommends \ | |
| libasound2-dev \ | |
| libudev-dev \ | |
| pkg-config \ | |
| libwayland-dev \ | |
| libxkbcommon-dev \ | |
| libxcb-composite0-dev \ | |
| libgtk-3-dev | |
| - name: cargo build | |
| run: cargo build --all-features | |
| - name: cargo fmt | |
| run: cargo fmt --all -- --check | |
| - name: cargo clippy | |
| run: cargo clippy -- -D warnings | |
| - name: cargo test | |
| run: cargo test |