Run cargo format
, update smithay, and use WeakOutput
instead of Option<WeakOutput>
, Output
#701
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: "Build" | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
# build: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: cachix/install-nix-action@v22 | |
# with: | |
# nix_path: nixpkgs=channel:nixpkgs-unstable | |
# - run: GIT_LFS_SKIP_SMUDGE=1 nix build | |
# - run: nix flake check | |
check-features: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: sudo apt-get update; sudo apt-get install -y libdrm-dev libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev | |
- run: cargo check --no-default-features | |
- run: cargo check --features debug | |
- run: cargo check --features profile-with-tracy | |
- run: cargo fmt --all -- --check |