Skip to content

Commit

Permalink
fix CI to use three_d feature when checking/building
Browse files Browse the repository at this point in the history
  • Loading branch information
coderedart committed Feb 26, 2024
1 parent 511bac2 commit c76b696
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
run: cargo fmt --check

- name: Check
run: cargo check --workspace
run: cargo check --workspace --features=three_d

- name: Clippy
run: cargo clippy --workspace -- -D warnings
run: cargo clippy --workspace --features=three_d -- -D warnings

- name: Build
run: cargo build --workspace
run: cargo build --workspace --features=three_d

- name: Build (Wgpu)
run: cargo build --workspace --no-default-features --features=egui_default,wgpu
Expand Down
1 change: 1 addition & 0 deletions examples/triangle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
egui = { workspace = true }
egui_render_three_d = { workspace = true }
egui_overlay = { workspace = true }
egui_window_glfw_passthrough = { workspace = true }

0 comments on commit c76b696

Please sign in to comment.