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 efe2d20
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 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_winit/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_winit/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_winit/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_winit/x11
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ documentation = "https://docs.rs/bevy_framepace"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy_app = "0.14.0"
bevy_ecs = "0.14.0"
bevy_diagnostic = "0.14.0"
bevy_log = "0.14.0"
bevy_render = "0.14.0"
bevy_reflect = "0.14.0"
bevy_time = "0.14.0"
bevy_utils = "0.14.0"
bevy_window = "0.14.0"
bevy_winit = "0.14.0"
bevy_app = { version = "0.14.0", default-features = false }
bevy_ecs = { version = "0.14.0", default-features = false }
bevy_diagnostic = { version = "0.14.0", default-features = false }
bevy_log = { version = "0.14.0", default-features = false }
bevy_render = { version = "0.14.0", default-features = false }
bevy_reflect = { version = "0.14.0", default-features = false }
bevy_time = { version = "0.14.0", default-features = false }
bevy_utils = { version = "0.14.0", default-features = false }
bevy_window = { version = "0.14.0", default-features = false }
bevy_winit = { version = "0.14.0", default-features = false }
# Non-bevy
spin_sleep = "1.0"

Expand All @@ -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 efe2d20

Please sign in to comment.