1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 08:58:14 +00:00

ci/build: adding darwin emulator build

Keeping as allow_failure until it is fully tested out
This commit is contained in:
Marek Mahut 2019-09-03 20:57:35 +02:00 committed by Tomas Susanka
parent bd41ec0b29
commit 76f20fbaa5

View File

@ -121,6 +121,23 @@ core unix frozen debug build:
untracked: true
expire_in: 1 week
build core unix frozen regular darwin:
stage: build
tags:
- darwin
when: manual
script:
- . $HOME/.nix-profile/etc/profile.d/nix.sh
- nix-shell --run "cd core && make 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
- dylibbundler -of -b -i /usr/lib/system -d TrezorEmu-$CI_COMMIT_SHORT_SHA.app/Contents/libs -x TrezorEmu-$CI_COMMIT_SHORT_SHA.app/Contents/MacOS/TrezorEmu-$CI_COMMIT_SHORT_SHA
allow_failure: true
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths:
- TrezorEmu-$CI_COMMIT_SHORT_SHA.app
expire_in: 1 week
# Crypto