1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

ci: build T1 firmware

This commit is contained in:
Pavol Rusnak 2020-07-28 12:18:44 +02:00
parent 9a673db647
commit f71958b63f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -9,7 +9,6 @@ variables:
core fw regular build: core fw regular build:
stage: build stage: build
script: 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_boardloader"
- nix-shell --run "pipenv run make -C core build_bootloader" - nix-shell --run "pipenv run make -C core build_bootloader"
- nix-shell --run "pipenv run make -C core build_prodtest" - 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 - trezor-fw-regular-*.*.*-$CI_COMMIT_SHORT_SHA.bin
expire_in: 1 week 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: core fw regular debug build:
stage: build stage: build
script: script: