mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-28 18:38:39 +00:00
ci/build: adding darwin emulator build
Keeping as allow_failure until it is fully tested out
This commit is contained in:
parent
bd41ec0b29
commit
76f20fbaa5
17
ci/build.yml
17
ci/build.yml
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user