From a799be335a1cc55abbeb9c9a0185859337dad23d Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Tue, 5 Nov 2019 10:23:11 +0100 Subject: [PATCH] ci: add core debug fw build --- ci/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ci/build.yml b/ci/build.yml index 4466150af2..c8cf22df2d 100644 --- a/ci/build.yml +++ b/ci/build.yml @@ -53,6 +53,21 @@ core fw regular build: - trezor-fw-regular-*.*.*-$CI_COMMIT_SHORT_SHA.bin expire_in: 1 week +core fw regular debug build: + stage: build + <<: *only_changes_core + script: + - cd core + - PYOPT=0 pipenv run make build_firmware + - cd .. + - export VERSION=$(./tools/version.sh core/embed/firmware/version.h) + - cp core/build/firmware/firmware.bin trezor-fw-regular-debug-$VERSION-$CI_COMMIT_SHORT_SHA.bin + artifacts: + name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" + paths: + - trezor-fw-regular-debug-*.*.*-$CI_COMMIT_SHORT_SHA.bin + expire_in: 1 week + core fw btconly build: stage: build <<: *only_changes_core