From 76f20fbaa566bdacd87d52db719f15bc804a46a1 Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Tue, 3 Sep 2019 20:57:35 +0200 Subject: [PATCH] ci/build: adding darwin emulator build Keeping as allow_failure until it is fully tested out --- ci/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ci/build.yml b/ci/build.yml index c46b350eb9..b435a13816 100644 --- a/ci/build.yml +++ b/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