Commit graph

1505 commits

Author SHA1 Message Date
datdenkikniet
c6b43800d2 Move all run-related stuff into run 2023-04-16 13:08:46 +02:00
datdenkikniet
66a3d02b45 Rename cargo_commands -> run
Rename command -> cargo_command
2023-04-16 13:08:46 +02:00
datdenkikniet
b59bf686c1 Redo command building so that we don't repeat as much, and to
make it easier to add new ones
2023-04-16 13:08:46 +02:00
datdenkikniet
404867cdf9 CargoCommand can take any package 2023-04-16 13:08:46 +02:00
datdenkikniet
9dc9f49263 Use chdir() instead of unstable option, also confirm whenver a command succeeds because
why not
2023-04-16 13:08:46 +02:00
datdenkikniet
deeb3877f0 Improve locality of error messages & ExampleBuild + Qemu commands, and
indicate failure earlier
2023-04-16 13:08:46 +02:00
datdenkikniet
1c84ccf6e4 Fix running of tests 2023-04-16 13:08:46 +02:00
datdenkikniet
d838286de6 Fix config pickup behaviour so that both examples and usage-examples build
correctly
2023-04-16 13:08:46 +02:00
datdenkikniet
859cd418f0 Rename some things 2023-04-16 13:08:46 +02:00
datdenkikniet
6517a4bec2 Also check for CommandErrors in error checking 2023-04-16 13:08:46 +02:00
datdenkikniet
fa8af4cbcf Add the most important message 2023-04-16 13:08:46 +02:00
datdenkikniet
eac593e300 Check usage examples in CI 2023-04-16 13:08:46 +02:00
datdenkikniet
63b7024cb9 xtask: build usage examples and general improvements 2023-04-16 13:08:46 +02:00
datdenkikniet
cba786529a examples: pin to specific version 2023-04-16 13:08:46 +02:00
datdenkikniet
093d64500d examples: commit Cargo.lock files 2023-04-16 13:08:46 +02:00
datdenkikniet
0411ed10b1 stm32f3_blinky: update to latest version 2023-04-16 13:08:36 +02:00
datdenkikniet
dc02818ef1 rp2040_local_i2c_init: update to latest version 2023-04-16 13:08:36 +02:00
datdenkikniet
5a9135961f Split remove old examples 2023-04-16 13:08:35 +02:00
bors[bot]
ef8046b060
Merge #734
734: QoL + fixes for `xtasks` r=korken89 a=datdenkikniet

Preferably merge this before #732

Draft till I get around to fixing "no package" -> "all packages" on `xtask build` (and probably others)

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-15 16:08:33 +00:00
datdenkikniet
aeeb623a70 Don't print no cargo args here either 2023-04-15 15:32:33 +02:00
datdenkikniet
51284efd0e Add more default members 2023-04-15 15:24:41 +02:00
datdenkikniet
b11b4f8cdd Missed a paren 2023-04-15 15:16:43 +02:00
datdenkikniet
c6f4b834c1 Fix fmt 2023-04-15 14:43:40 +02:00
datdenkikniet
feb00a9755 Add support for "feature mixer" 2023-04-15 14:32:32 +02:00
datdenkikniet
622a58db5a Also log command with enough verbosity 2023-04-15 13:55:56 +02:00
datdenkikniet
461023e3b8 More emojis and correct place for things 2023-04-15 13:45:58 +02:00
datdenkikniet
df69b35c25 More housekeeping and making it work that bit better 2023-04-15 13:21:09 +02:00
datdenkikniet
cefb622cf8 Make all globals actually global 2023-04-15 13:17:59 +02:00
datdenkikniet
3458288946 Oops, these aren't std-only 2023-04-15 12:38:17 +02:00
datdenkikniet
525703358b Rework command execution structure and make rayon optional (since it's not necessarily faster
due to workspace wide lockfile contention)
2023-04-15 12:33:46 +02:00
datdenkikniet
1ccca03a70 Use pretty_env_logger instead 2023-04-15 10:10:04 +02:00
datdenkikniet
480aa21059 Always run stuff for all packages if none is specified 2023-04-15 10:03:52 +02:00
datdenkikniet
f2115e3d47 Unbrick cargo xtask build 2023-04-15 01:08:28 +02:00
datdenkikniet
4adae80f2d xtask: don't add default arguments if building for a no_std target 2023-04-15 01:08:28 +02:00
datdenkikniet
18522122f1 xtask: forward globals through the chain and add stderr-inheritance flag 2023-04-15 01:08:28 +02:00
datdenkikniet
fa92d8abe7 Add some QoL to run_command 2023-04-15 00:09:50 +02:00
bors[bot]
f741475a3f
Merge #730
730: remove vis restriction for local and shared resources r=korken89 a=andrewgazelka



Co-authored-by: Andrew Gazelka <andrew.gazelka@gmail.com>
2023-04-13 05:38:13 +00:00
Andrew Gazelka
e47914ee50
remove vis restriction for local and shared resources 2023-04-12 15:26:06 -07:00
Emil Fresk
44c614d792
Merge pull request #729 from rtic-rs/export-fugit
rtic-monotonics: export fugit the same for all monotonics
2023-04-11 12:58:46 +02:00
Emil Fresk
69ad6df2ed rtic-monotonics: export fugit the same for all monotonics 2023-04-10 21:38:26 +02:00
bors[bot]
2482719e92
Merge #728
728: Add test for timer queue & monotonic r=korken89 a=datdenkikniet

Add an `std`-runnable test fixture and a `Monotonic` implementation for testing the `TimerQueue`

Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-10 17:23:59 +00:00
datdenkikniet
413b985f12 Small cleanup 2023-04-10 13:40:01 +02:00
datdenkikniet
53fbf30514 Clean up 2023-04-10 13:19:23 +02:00
datdenkikniet
5bcbe92f55 Use artificial time instead 2023-04-10 13:06:27 +02:00
datdenkikniet
25c2c59a42 Add feature to xtask test for rtic-time 2023-04-10 10:57:22 +02:00
datdenkikniet
452bad69b4 Do not activate critical-section/std by default 2023-04-10 10:52:21 +02:00
datdenkikniet
d445b20b18 Add test for timer queue & monotonic 2023-04-10 10:42:29 +02:00
bors[bot]
2fb09d4a6d
Merge #727
727: Fix if a enqueued instant is first in a non-empty queue r=perlindgren a=korken89

Fixes #715 

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-04-09 14:48:26 +00:00
Emil Fresk
66780d8a7b Fix if a enqueued instant is first in a non-empty queue 2023-04-08 22:11:12 +02:00
bors[bot]
d9f2980c38
Merge #726
726: Fix monotonic dep r=AfoHT a=korken89



Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-04-05 19:39:37 +00:00