-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use an alias to compile for Flipper Zero instead of
build.target
Hard-coding `python3` in the runner means it doesn't work on Windows because only `python` is provided. Conversely, Debian / Ubuntu don't provide `python` by default. So it is more reliable to use `cargo` itself as the runner. However, doing so means we need to be able to compile for the host inside the `crates/` subdirectory. It is currently not possible to revert Cargo config options to their default, so the only way to compile for both host and Flipper Zero is to set the target additively. We achieve this by defining an alias `cargo test-flipper` that developers can use instead.
- Loading branch information
Showing
4 changed files
with
31 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters