examples in CI
This commit is contained in:
parent
00acc2a183
commit
773b2e77e0
|
|
@ -22,5 +22,7 @@ jobs:
|
|||
components: clippy
|
||||
- name: Linting
|
||||
run: cargo clippy --all-targets --features derive,nalgebra,rayon -- -D warnings
|
||||
- name: Tests
|
||||
- name: Build examples with features
|
||||
run: cargo build --examples --features derive,nalgebra,rayon
|
||||
- name: Test library
|
||||
run: cargo test --features derive,nalgebra,rayon
|
||||
|
|
|
|||
|
|
@ -134,8 +134,6 @@ impl From<Label> for PointDataBuffer {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
#[cfg(not(feature = "derive"))]
|
||||
{
|
||||
let cloud = vec![
|
||||
CustomPoint::new(1.0, 2.0, 3.0, 4.0, Label::Deer),
|
||||
CustomPoint::new(4.0, 5.0, 6.0, 7.0, Label::Car),
|
||||
|
|
@ -159,5 +157,4 @@ fn main() {
|
|||
vec![CustomPoint::new(1.0, 2.0, 3.0, 4.0, Label::Deer),],
|
||||
out
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue