mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-11 16:00:57 +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
|
- deploy
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- . $HOME/.nix-profile/etc/profile.d/nix.sh || true
|
||||||
- nix-shell --run "pipenv sync"
|
- nix-shell --run "pipenv sync"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
@ -103,7 +103,6 @@ core unix frozen regular darwin:
|
|||||||
- darwin
|
- darwin
|
||||||
when: manual
|
when: manual
|
||||||
script:
|
script:
|
||||||
- . $HOME/.nix-profile/etc/profile.d/nix.sh
|
|
||||||
- nix-shell --run "pipenv run make -C core build_unix_frozen"
|
- nix-shell --run "pipenv run make -C core build_unix_frozen"
|
||||||
- mkdir -p TrezorEmu-$CI_COMMIT_SHORT_SHA.app/Contents/{MacOS,libs}
|
- 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
|
- 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