mirror of
https://gitlab.com/feliix42/embedded-plots.git
synced 2024-11-22 18:06:30 +00:00
Merge branch 'feature/build-examples-on-ci' into 'develop'
Add very basic CI script See merge request mchodzikiewicz/embedded-plots!5
This commit is contained in:
commit
641feb9eb4
2 changed files with 17 additions and 2 deletions
16
.gitlab-ci.yml
Normal file
16
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# todo: spin our own image
|
||||||
|
image: registry.gitlab.com/mchodzikiewicz/embedded-plots-docker:latest
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- cargo build
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- cargo test
|
|
@ -3,8 +3,7 @@ use core::ops::{Range};
|
||||||
use crate::range_conv::Scalable;
|
use crate::range_conv::Scalable;
|
||||||
use crate::drawable_curve::DrawableCurve;
|
use crate::drawable_curve::DrawableCurve;
|
||||||
use embedded_graphics::prelude::*;
|
use embedded_graphics::prelude::*;
|
||||||
use itertools::MinMaxResult::MinMax;
|
use itertools::{Itertools, MinMaxResult::MinMax, MinMaxResult};
|
||||||
use itertools::{Itertools, MinMaxResult};
|
|
||||||
|
|
||||||
pub struct PlotPoint {
|
pub struct PlotPoint {
|
||||||
pub x: i32,
|
pub x: i32,
|
||||||
|
|
Loading…
Reference in a new issue