mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-24 03:55:44 +00:00
ci: check that cargo build
can succeed without envvars
this ensures that rust-analyzer continues to work
This commit is contained in:
parent
609e14264f
commit
a4220c4b78
4
.github/workflows/core.yml
vendored
4
.github/workflows/core.yml
vendored
@ -220,6 +220,10 @@ jobs:
|
||||
submodules: recursive
|
||||
- uses: ./.github/actions/environment
|
||||
- run: nix-shell --run "poetry run make -C core build_unix_frozen"
|
||||
# Ensure that "cargo build" works when NOT executed through our makefiles,
|
||||
# indicating that it does not rely on particular envvars or other flags.
|
||||
# This makes sure that rust-analyzer will work on our codebase.0
|
||||
- run: nix-shell --run "cd core/embed/rust && cargo build"
|
||||
- run: nix-shell --run "poetry run make -C core clippy"
|
||||
- run: nix-shell --run "poetry run make -C core test_rust"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user