1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

ci: make nix-shell available on darwin in before_script

This commit is contained in:
Pavol Rusnak 2020-07-03 21:52:47 +02:00
parent 25a2e690fe
commit 82c0c40367
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,7 @@ stages:
- deploy
before_script:
- . $HOME/.nix-profile/etc/profile.d/nix.sh || true
- nix-shell --run "pipenv sync"
include:

View File

@ -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