mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
ci: make nix-shell available on darwin in before_script
This commit is contained in:
parent
25a2e690fe
commit
82c0c40367
@ -33,6 +33,7 @@ stages:
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
- . $HOME/.nix-profile/etc/profile.d/nix.sh || true
|
||||
- nix-shell --run "pipenv sync"
|
||||
|
||||
include:
|
||||
|
@ -103,7 +103,6 @@ core unix frozen regular darwin:
|
||||
- darwin
|
||||
when: manual
|
||||
script:
|
||||
- . $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||
- nix-shell --run "pipenv run make -C core build_unix_frozen"
|
||||
- mkdir -p TrezorEmu-$CI_COMMIT_SHORT_SHA.app/Contents/{MacOS,libs}
|
||||
- cp -v core/build/unix/micropython TrezorEmu-$CI_COMMIT_SHORT_SHA.app/Contents/MacOS/TrezorEmu-$CI_COMMIT_SHORT_SHA
|
||||
|
Loading…
Reference in New Issue
Block a user