1
0
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:
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 - 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:

View File

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