Commit graph

21 commits

Author SHA1 Message Date
Jonathan Pallant (42 Technology) e3f9125a87 Can we build without GCC now? 2021-10-18 10:56:30 +01:00
Jan Niehusmann 2b6de3a3c9
implement embedded-hal 1.0.0-alpha.5 (#131)
* implement embedded-hal 1.0.0-alpha.5

* Depend on specific alpha version of embedded-hal.

* enable feature eh1_0_alpha for CI check
2021-10-02 15:36:40 +10:00
Hmvp d3cb29b113
Fix doc examples and add checking (#76)
* Fix doc examples for peripheral drivers
* Add no_run to doc examples so they can be built by CI
* Enable building doc examples in CI check workflow
2021-08-11 10:53:42 +10:00
Hmvp 4970075974 Also clippy check examples 2021-07-26 20:37:08 +10:00
Jonathan Nilsson 1bf47df553 Deny warnings in ci 2021-07-25 02:17:43 +10:00
9names d26e13c5ef
Merge branch 'main' into basic-gpio 2021-05-05 08:23:03 +10:00
9names 691f43c17b Move tests into seperate workflow 2021-05-04 17:52:48 +10:00
9names 41c6db6811 Move clippy into seperate workflow 2021-05-04 17:41:33 +10:00
9names 95a1080a46 Move rustfmt to seperateworkflow 2021-05-04 17:38:01 +10:00
9names 7588f76844
Merge branch 'main' into basic-gpio 2021-05-04 16:35:46 +10:00
tdittr 39f02c4a44 Add cargo test to CI run and fix an error found by it
Besides the normal usage of unit-tests this also ensures that
example in doc-comments do at least compile.
2021-04-27 12:08:47 +02:00
Jennifer Wilcox a4b15a3547 Fix ARM toolchain apt package name 2021-04-26 12:06:57 -05:00
Jennifer Wilcox 09d9247f2f apt-get requires sudo 2021-04-26 12:05:24 -05:00
Jennifer Wilcox 0badff4f1c Install arm-none-eabi-gcc in CI 2021-04-26 12:04:11 -05:00
Jennifer Wilcox d738626f70 Also check examples
A quick check on my machine showed that just `cargo check --workspace`
didn't verify the examples. Quite silly.
2021-04-26 12:00:23 -05:00
Jennifer Wilcox e9721e14c2 Pin ubuntu version 2021-04-25 12:24:47 -05:00
Jennifer Wilcox cb51448089
Apply suggestions from code review
Co-authored-by: Émile Grégoire <eg@emilegregoire.ca>
2021-04-24 20:17:42 -05:00
Jennifer Wilcox cc1a1bee2c Also build all examples
My other PR has some examples. It turns out `cargo check --all` doesn't
actually check _all_ buildable things :(
2021-04-24 18:46:07 -05:00
Jennifer Wilcox 5dfa550663 Pass --all to cargo check
This will be useful once we have examples, which I'm working on in
another PR.
2021-04-24 14:36:39 -05:00
Jennifer Wilcox 778a87dfaa Also run the checks on PRs
I forgot you have to add that event explicitly.
2021-04-17 14:21:55 -05:00
Jennifer Wilcox 63607e5533 Add CI checks 2021-04-17 14:09:54 -05:00