ci: make nix-shell available on darwin in before_script

pull/1091/head
Pavol Rusnak 4 years ago
parent 25a2e690fe
commit 82c0c40367
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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…
Cancel
Save