1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-25 07:48:10 +00:00
trezor-firmware/ci/hardware_tests
2021-04-06 22:06:12 +02:00
..
device ci: check model before flashing 2021-02-20 21:55:36 +01:00
tpmb ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
bootstrap.py ci: all hw configuration in one place 2021-02-05 12:58:21 +01:00
hardware.cfg ci: change usb location/ports 2021-02-05 12:58:21 +01:00
README.md docs: hardware CI test jobs 2021-02-06 11:56:23 +01:00
record_video.sh ci: all hw configuration in one place 2021-02-05 12:58:21 +01:00
shell.nix ci: unified shell.nix for hardware tests 2021-04-06 22:06:12 +02:00
t1_hw_test.sh ci: all hw configuration in one place 2021-02-05 12:58:21 +01:00

List of GitLab CI Jobs

Environment

environment

Environment job builds the ci/Dockerfile and pushes the built docker image into our GitLab registry. Since modifications of this Dockerfile are very rare this si a manual job which needs to be triggered on GitLab.

Almost all CI jobs run inside this docker image.

Build

All builds are published as artifacts so you can download and use them.

core fw btconly build

Build of Core into firmware. Bitcoin-only version.

core fw regular build

Build of Core into firmware. Regular version. Are you looking for Trezor T firmware build? This is most likely it.

core fw regular debug build

Build of Core into firmware with enabled debug mode. In debug mode you can upload mnemonic seed, use debug link etc. which enables device tests. Storage on the device gets wiped on every start in this firmware.

core unix frozen btconly debug build

Build of Core into UNIX emulator. Something you can run on your laptop.

Frozen version. That means you do not need any other files to run it, it is just a single binary file that you can execute directly.

See Emulator for more info.

Debug mode enabled, Bitcoin-only version.

core unix frozen debug build

Same as above but regular version (not only Bitcoin). Are you looking for a Trezor T emulator? This is most likely it.

core unix frozen regular build

Same as above but regular version (not only Bitcoin) without debug mode enabled.

core unix regular build

Non-frozen emulator build. This means you still need Python files present which get interpreted.

crypto build

Build of our cryptographic library, which is then incorporated into the other builds.

legacy emu btconly build

Build of Legacy into UNIX emulator. Use keyboard arrows to emulate button presses.

Bitcoin-only version.

legacy emu regular build

Regular version (not only Bitcoin) of above. Are you looking for a Trezor One emulator? This is most likely it.

legacy fw btconly build

Build of Legacy into firmware. Bitcoin only.

legacy fw debug build

Build of Legacy into firmware. Debug mode on. Storage on the device gets wiped on every start in this firmware.

legacy fw regular build

Build of Legacy into firmware. Regular version. Are you looking for Trezor One firmware build? This is most likely it.

Test

core device ui test

UI tests for Core. See artifacts for a comprehensive report of UI. See tests/ui-tests for more info.

hardware core regular device test

Device tests that run against an actual physical Trezor T. The device needs to have special bootloader, found in core/embed/bootloader_ci, that makes it possible to flash firmware without confirmation on the touchscreen.

All hardware tests are run nightly on the master branch, as well as on push to branches with whitelisted prefix. If you want hardware tests ran on your branch, make sure its name starts with hw/.

hardware core btconly device test

Also device tests on physical Trezor T but with Bitcoin-only firmware.

hardware legacy regular device test

Device tests executed on physical Trezor 1. This works thanks to tpmb, which is a small arduino device capable of pushing an actual buttons on the device.

hardware legacy btconly device test

Also device tests on physical Trezor 1 but with Bitcoin-only firmware.