1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-05 14:22:33 +00:00

WIP - build universal firmware, not btconly

This commit is contained in:
grdddj 2023-01-05 11:05:49 +01:00
parent e2af3df9f3
commit 1672d91e17

View File

@ -133,37 +133,35 @@ core fw btconly production build:
- trezor-fw-btconly-production-*.*.*-$CI_COMMIT_SHORT_SHA.bin - trezor-fw-btconly-production-*.*.*-$CI_COMMIT_SHORT_SHA.bin
expire_in: 1 week expire_in: 1 week
core fw R btconly debug build: core fw R debug build:
stage: build stage: build
<<: *gitlab_caching <<: *gitlab_caching
needs: [] needs: []
variables: variables:
TREZOR_MODEL: "R" TREZOR_MODEL: "R"
BITCOIN_ONLY: "1"
PYOPT: "0" PYOPT: "0"
script: script:
- nix-shell --run "poetry run make -C core build_firmware" - nix-shell --run "poetry run make -C core build_firmware"
- cp core/build/firmware/firmware.bin trezor-fw-btconly-debug-tr-$CORE_VERSION-$CI_COMMIT_SHORT_SHA.bin - cp core/build/firmware/firmware.bin trezor-fw-debug-tr-$CORE_VERSION-$CI_COMMIT_SHORT_SHA.bin
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths: paths:
- trezor-fw-btconly-*.*.*-$CI_COMMIT_SHORT_SHA.bin - trezor-fw-*.*.*-$CI_COMMIT_SHORT_SHA.bin
expire_in: 1 week expire_in: 1 week
core fw R btconly build: core fw R build:
stage: build stage: build
<<: *gitlab_caching <<: *gitlab_caching
needs: [] needs: []
variables: variables:
TREZOR_MODEL: "R" TREZOR_MODEL: "R"
BITCOIN_ONLY: "1"
script: script:
- nix-shell --run "poetry run make -C core build_firmware" - nix-shell --run "poetry run make -C core build_firmware"
- cp core/build/firmware/firmware.bin trezor-fw-btconly-tr-$CORE_VERSION-$CI_COMMIT_SHORT_SHA.bin - cp core/build/firmware/firmware.bin trezor-fw-tr-$CORE_VERSION-$CI_COMMIT_SHORT_SHA.bin
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
paths: paths:
- trezor-fw-btconly-*.*.*-$CI_COMMIT_SHORT_SHA.bin - trezor-fw-*.*.*-$CI_COMMIT_SHORT_SHA.bin
expire_in: 1 week expire_in: 1 week
# Non-frozen emulator build. This means you still need Python files # Non-frozen emulator build. This means you still need Python files