Skip to content

Commit

Permalink
Add x11 feature for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aevyrie committed Jul 5, 2024
1 parent c66e3ad commit f41ff5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/[email protected]
- run: cargo check
- run: cargo check --features=bevy/x11

clippy:
runs-on: ubuntu-latest
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/[email protected]
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
- run: cargo clippy --features=bevy/x11 -- -D warnings

doc:
runs-on: ubuntu-latest
Expand All @@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/[email protected]
- run: cargo doc --no-deps --workspace
- run: cargo doc --features=bevy/x11 --no-deps --workspace
env:
RUSTDOCFLAGS: -D warnings

Expand All @@ -60,4 +60,4 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/[email protected]
- run: cargo test
- run: cargo test --features=bevy/x11
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ default = ["framepace_debug"]
framepace_debug = []

[dev-dependencies]
bevy = "0.14.0"
bevy = { version = "0.14.0" }

[[example]]
name = "demo"
Expand Down

0 comments on commit f41ff5d

Please sign in to comment.