mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-21 04:41:18 +00:00
ci: conditionally use cached-nix-shell in env setup
This commit is contained in:
parent
e4661e8f05
commit
9d7342e0aa
@ -29,6 +29,7 @@ stages:
|
||||
|
||||
before_script:
|
||||
- . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh || true
|
||||
- which cached-nix-shell > /dev/null || alias cached-nix-shell=nix-shell
|
||||
- cached-nix-shell --run "poetry install --remove-untracked"
|
||||
- export LEGACY_VERSION=$(cached-nix-shell --run "./tools/version.sh legacy/firmware/version.h")
|
||||
- export CORE_VERSION=$(cached-nix-shell --run "./tools/version.sh core/embed/firmware/version.h")
|
||||
|
Loading…
Reference in New Issue
Block a user