Commit graph

65 commits

Author SHA1 Message Date
Jorge Aparicio
7f863a9579 fix CI
after caching was enabled binary install through the trust/install.sh script
stopped working (due to permissions?). This updates crate installation to use
`cargo-install` iff the requested version of a crate is not already installed
2019-11-14 18:55:07 -05:00
Jorge Aparicio
e9a83947bc fix bash comparison 2019-11-06 19:48:02 -05:00
Jorge Aparicio
da9c6a714e run cfail tests only when rustc --version == $MSRV
this version is more or less fixed so new releases of Rust (stable or nightly
channel) are unlikely to break to build due to changes in diagnostic messages
2019-11-06 19:39:57 -05:00
Jorge Aparicio
31b392fe3a CI: replace compiletest-rs with trybuild
We use compiletest to run compile-fail tests but compiletest depends on compiler
internals so it breaks every now and then and requires nightly. With trybuild we
can also run compile-fail tests but it works on stable and it already has
reached version 1.0
2019-11-06 19:05:37 -05:00
Jorge Aparicio
3dd6df0bd0 CI: build 0.4 docs from the v0.4.x branch
instead of using a specific tag; this way documentation changes done to the
v0.4.x branch will show up on the site as soon as they land -- right now they
require publishing a new v0.4.x release on crates.io and manually updating the
`after-success.sh` build script on master
2019-10-25 13:59:23 -05:00
Jorge Aparicio
eb2ec7a4c8 v0.5.0 beta release 2019-10-15 16:35:00 -05:00
Jorge Aparicio
ff3cfac6bb www: fix book placement 2019-09-17 09:55:05 +02:00
Jorge Aparicio
2ffe12a0fc www: prefix latest docs with the minor version 2019-09-17 09:26:48 +02:00
Jorge Aparicio
c67e039c19 fix install script 2019-09-15 22:28:52 +02:00
Jorge Aparicio
e5324645e3 0.4: don't cross compile docs 2019-09-15 22:05:31 +02:00
Jorge Aparicio
0f704459c6 faster doc builds and fix redirect on 0.4 2019-09-15 21:58:03 +02:00
Jorge Aparicio
a593e49a3e fix redirects and CNAME 2019-09-15 21:40:40 +02:00
Jorge Aparicio
c8197f524e fix gh-pages build 2019-09-15 20:19:48 +02:00
Jorge Aparicio
da675dc35f ci: install some thumb targets on x86 2019-08-21 12:46:06 +02:00
Jorge Aparicio
4132bae2a9 ci: fix x86 build 2019-08-21 11:13:17 +02:00
Jorge Aparicio
7ca5bbf404 fix preempt example 2019-08-21 10:53:13 +02:00
Jorge Aparicio
69729d78eb bump mdbook to v0.3.1 2019-08-21 10:28:45 +02:00
Jorge Aparicio
07b2b4d830 doc up 2019-08-21 10:17:27 +02:00
Jorge Aparicio
9195038c87 implement RFC #212 2019-07-10 22:42:44 +02:00
Jorge Aparicio
9897728709 add homogeneous multi-core support 2019-06-18 10:31:31 +02:00
Jorge Aparicio
81275bfa4f rtfm-syntax refactor + heterogeneous multi-core support 2019-06-13 23:56:59 +02:00
Jorge Aparicio
30d6327001 bump heapless dependency to v0.5.0; remove "nightly" feature
with the upcoming version of heapless we are able to initialize all internal
queues in const context removing the need for late initialization

this commit also removes the "nightly" feature because all the optimization
provided by it are now enabled by default
2019-05-21 15:22:25 +02:00
Jorge Aparicio
ccd7f4586b book: indirection for faster message passing 2019-05-01 21:32:00 +02:00
Jorge Aparicio
f30743f52a push docs to another repo & update README 2019-05-01 20:49:25 +02:00
Jorge Aparicio
fa22145363 ci: the singleton example has been removed 2019-05-01 20:49:25 +02:00
Jorge Aparicio
473a0e7bb5 add .run file 2019-04-21 18:05:24 +02:00
Jorge Aparicio
e865cbb2e5 book: resources shared with init must also be Send 2019-04-21 18:00:22 +02:00
Jorge Aparicio
11f795aaf6 add binds example and make it work 2019-02-26 23:22:34 +01:00
Jorge Aparicio
c6f9b2c0aa fix ci 2019-02-23 20:35:54 +01:00
Jorge Aparicio
fe70817653 ci: report the size of built examples 2019-02-19 13:13:16 +01:00
Jorge Aparicio
c8df71adf0 ci: test the nightly feature 2019-02-19 13:13:13 +01:00
Jorge Aparicio
2b8e743f35 make debug builds reproducible 2019-02-16 00:25:48 +01:00
Hugo van der Wijst
cf05dc2c4b Temporarily disable checking for reproducibility of debug builds. 2019-02-16 00:23:01 +01:00
Hugo van der Wijst
577d188f72 Make generated names stable when sorting. 2019-02-16 00:23:01 +01:00
Hugo van der Wijst
82c533cbf4 Fix thumbv6 build. 2019-02-16 00:23:01 +01:00
Hugo van der Wijst
be8a5e89b8 Make identifiers deterministic. 2019-02-16 00:23:01 +01:00
Hugo van der Wijst
4f193df0ef Speed up CI significantly. 2019-02-16 00:22:22 +01:00
Hugo van der Wijst
2f89688ca9 Make builds reproducible
This is done by using `BTreeMap`s and `BTreeSet`s to get deterministic
ordering.

Also updated the CI job to check reproducibility of all examples.
2019-02-16 00:22:22 +01:00
Jorge Aparicio
92fd6bf856 set a redirect from book/ to book/en/
closes #148
2019-02-14 21:46:17 +01:00
Jorge Aparicio
26e0054419 fix ci/after-success.sh 2019-02-11 22:07:15 +01:00
Jorge Aparicio
0007a35a27 change layout of books 2019-02-11 21:40:53 +01:00
Jorge Aparicio
45659fdbbc skeleton for the Russian translation of the book 2019-02-08 19:58:55 +01:00
Jorge Aparicio
e7586f4a8a impl Default for Duration 2019-02-08 11:54:41 +01:00
Jorge Aparicio
1643dd0a57 actually, don't check the output of the cfg example 2018-12-16 22:02:06 +01:00
Jorge Aparicio
34e74f4bb3 book: add an example of conditional compilation of resources and tasks 2018-12-16 20:57:04 +01:00
Jorge Aparicio
06c1e2f9b4 note that the timer queue is not supported on ARMv6-M 2018-12-16 19:38:22 +01:00
Jorge Aparicio
e03c09874f ci: switch to an older nightly
to work around rust-lang/rust#56814
2018-12-15 21:17:14 +01:00
Jorge Aparicio
37a0692a0f impl Mutex on all shared resources
document how to write generic code that operates on resources
2018-11-04 18:50:42 +01:00
Jorge Aparicio
9ddf3bf8e7 run linkchecker 2018-11-03 19:47:28 +01:00
Jorge Aparicio
a7d8084aee ci: install mdbook 2018-11-03 18:58:25 +01:00