Fix cargo run -p egui_demo_app
(#1343)
Broken by https://github.com/emilk/egui/pull/1303
This commit is contained in:
parent
37c9f116bf
commit
d8300037ad
3 changed files with 17 additions and 10 deletions
13
.github/workflows/rust.yml
vendored
13
.github/workflows/rust.yml
vendored
|
@ -56,6 +56,19 @@ jobs:
|
||||||
command: check
|
command: check
|
||||||
args: -p egui_demo_app --lib --target wasm32-unknown-unknown
|
args: -p egui_demo_app --lib --target wasm32-unknown-unknown
|
||||||
|
|
||||||
|
check_egui_demo_app:
|
||||||
|
name: cargo check -p egui_demo_app
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: 1.56.0
|
||||||
|
override: true
|
||||||
|
- name: check
|
||||||
|
run: cargo check -p egui_demo_app
|
||||||
|
|
||||||
check_wasm_eframe_with_features:
|
check_wasm_eframe_with_features:
|
||||||
name: cargo check wasm eframe
|
name: cargo check wasm eframe
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
|
@ -100,15 +100,8 @@ pub mod winit;
|
||||||
#[cfg(all(not(target_arch = "wasm32"), feature = "winit"))]
|
#[cfg(all(not(target_arch = "wasm32"), feature = "winit"))]
|
||||||
pub use winit::*;
|
pub use winit::*;
|
||||||
|
|
||||||
#[cfg(all(
|
#[cfg(all(not(target_arch = "wasm32"), feature = "winit"))]
|
||||||
not(target_arch = "wasm32"),
|
|
||||||
feature = "persistence",
|
|
||||||
feature = "winit"
|
|
||||||
))]
|
|
||||||
mod epi_backend;
|
mod epi_backend;
|
||||||
#[cfg(all(
|
|
||||||
not(target_arch = "wasm32"),
|
#[cfg(all(not(target_arch = "wasm32"), feature = "winit"))]
|
||||||
feature = "persistence",
|
|
||||||
feature = "winit"
|
|
||||||
))]
|
|
||||||
pub use epi_backend::{run, NativeOptions};
|
pub use epi_backend::{run, NativeOptions};
|
||||||
|
|
|
@ -37,6 +37,7 @@ cargo doc --document-private-items --no-deps --all-features
|
||||||
|
|
||||||
(cd eframe && cargo check --all-features)
|
(cd eframe && cargo check --all-features)
|
||||||
(cd egui && cargo check --all-features)
|
(cd egui && cargo check --all-features)
|
||||||
|
(cd egui_demo_app && cargo check --all-features)
|
||||||
(cd egui_extras && cargo check --all-features)
|
(cd egui_extras && cargo check --all-features)
|
||||||
(cd egui_glium && cargo check --all-features)
|
(cd egui_glium && cargo check --all-features)
|
||||||
(cd egui_glow && cargo check --all-features)
|
(cd egui_glow && cargo check --all-features)
|
||||||
|
|
Loading…
Reference in a new issue