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:
Michał Chodzikiewicz 2021-02-22 20:52:54 +00:00
commit 641feb9eb4
2 changed files with 17 additions and 2 deletions

16
.gitlab-ci.yml Normal file
View 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

View file

@ -3,8 +3,7 @@ use core::ops::{Range};
use crate::range_conv::Scalable;
use crate::drawable_curve::DrawableCurve;
use embedded_graphics::prelude::*;
use itertools::MinMaxResult::MinMax;
use itertools::{Itertools, MinMaxResult};
use itertools::{Itertools, MinMaxResult::MinMax, MinMaxResult};
pub struct PlotPoint {
pub x: i32,