Windows: Pass EventStatus::Ignored keyboard events to parent (feature parity with OSX)
#917
Workflow file for this run
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: Rust | |
| on: [ push, pull_request ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest, macOS-latest ] | |
| toolchain: [ "1.80", stable ] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| RUSTFLAGS: -D warnings | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install rust stable | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ matrix.toolchain }} | |
| components: clippy | |
| - name: Build Default | |
| run: cargo build -p baseview --verbose | |
| - name: Build All Features | |
| run: cargo build -p baseview --all-features --verbose | |
| - name: Run tests | |
| run: cargo test -p baseview --all-features --verbose | |
| - name: Build examples | |
| if: matrix.toolchain != '1.80' | |
| run: cargo build --workspace --all-targets --verbose | |
| - name: Clippy | |
| if: matrix.toolchain != '1.80' | |
| run: cargo clippy --all --all-features -- -D warnings | |
| checks: | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTFLAGS: -D warnings | |
| RUSTDOCFLAGS: -D warnings | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install rust stable | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| components: rustfmt | |
| - name: Check docs | |
| run: cargo doc --all --all-features --no-deps | |
| - name: Check Formatting (rustfmt) | |
| run: cargo fmt --all -- --check |