From f71958b63f35065b8bdb21a6abf372102832ccee Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 28 Jul 2020 12:18:44 +0200 Subject: [PATCH] ci: build T1 firmware --- ci/build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ci/build.yml b/ci/build.yml index 9b00dd87e..04249bad3 100644 --- a/ci/build.yml +++ b/ci/build.yml @@ -9,7 +9,6 @@ variables: core fw regular build: stage: build script: - - nix-shell --run "pipenv run make -C core build_cross" - nix-shell --run "pipenv run make -C core build_boardloader" - nix-shell --run "pipenv run make -C core build_bootloader" - nix-shell --run "pipenv run make -C core build_prodtest" @@ -22,6 +21,19 @@ core fw regular build: - trezor-fw-regular-*.*.*-$CI_COMMIT_SHORT_SHA.bin expire_in: 1 week +core fw regular t1 build: + stage: build + variables: + TREZOR_MODEL: "1" + script: + - nix-shell --run "pipenv run make -C core build_firmware" + - cp core/build/firmware/firmware.bin trezor-fw-regular-t1-$CORE_VERSION-$CI_COMMIT_SHORT_SHA.bin + artifacts: + name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" + paths: + - trezor-fw-regular-t1-*.*.*-$CI_COMMIT_SHORT_SHA.bin + expire_in: 1 week + core fw regular debug build: stage: build script: