Commit Graph

361 Commits (matejcik/sleep-1000)

Author SHA1 Message Date
matejcik b0a7e13c88 ci: remove separate "UI" job, do UI test in the default "device test" job
2 years ago
vdovhanych 48d7f71ccc ci: add hwi tests for core and legacy builds
2 years ago
grdddj 5d76144ef5 chore(common): always use resolve() when accessing parent of the Path
2 years ago
vdovhanych b35e6ca5c4 ci: add git filter repo to base image
2 years ago
vdovhanych 2c2474db07 ci: add script for automating common sync
2 years ago
Martin Milata 7ca2ae232b ci(core): add nightly builds with PRODUCTION=1
2 years ago
vdovhanych 068c6463a2 ci: build base docker image once a week on schedule
2 years ago
Martin Milata af0ae880a1 fix(ci): Fix valgrind crypto test.
2 years ago
Andrew Kozlik 07013d5a0c fix(ci): Fix crypto tests.
2 years ago
Andrew Kozlik ebc07fd6db ci: Suppress libSDL memory leaks.
2 years ago
Martin Milata 242b5f956c ci: more AddressSanitizer jobs
2 years ago
Martin Milata b6ed573cf5 ci(legacy): run nightly device tests with AddressSanitizer
2 years ago
Martin Milata e3541997f0 ci(core): run nightly device tests with AddressSanitizer
2 years ago
Andrew Kozlik 56126b75a7 ci: Use address sanitizer in CI.
2 years ago
Pavol Rusnak 52a09c320d fix(ci): copy pyright directory in Dockerfile
2 years ago
Andrew Kozlik fc0fa726e4 ci: Allow failure of connect tests.
2 years ago
Martin Milata 3100961dda ci(nix): update to pyright-1.1.204
2 years ago
vdovhanych f9b43efcbe ci: jobs for deploying arm emulators
3 years ago
vdovhanych 0024d72340 ci: add arm build for core unix and legacy emulators
3 years ago
matejcik 9a9201fe8a fix(ci): properly ignore changed generated enums
3 years ago
grdddj f838e15eda chore(ci): connect tests - exporting emu/bridge logfile from tenv as artifact
3 years ago
Pavol Rusnak 30a77a76bc
chore(legacy): rename MEMORY_PROTECT flag to PRODUCTION to match core naming (#2003)
3 years ago
grdddj 3ed92a72bb feat(ci): running connect tests against current branch
3 years ago
Pavol Rusnak aa4ade59dc chore(ci): update alpine-linux to 3.15.0 and nix to 2.4
3 years ago
Martin Milata 2b7b4b13bd chore(nix): update rust to 1.57
3 years ago
Martin Milata e43ff4ba8e ci(nix): prefer gcc over clang for symlinks with same name
3 years ago
Pavol Rusnak 4419572437
ci(nix): use gcc-arm-embedded on aarch64-darwin too
3 years ago
Pavol Rusnak 8428456df6
ci(nix): use explicit versions for clang and gcc (#1969)
3 years ago
vdovhanych 3419961797 ci: introduce gitlab cache for vnev
3 years ago
Martin Milata 52f719ad81 ci: add core unit test t1
3 years ago
Martin Milata 909b7b355d
ci: also build legacy firmware with MEMORY_PROTECT=1 (#1935)
3 years ago
Martin Milata ebfaff7904 ci(nix): keep python3.6 from old nixpkgs
3 years ago
Martin Milata 0e505ec78b ci(nix): update to latest nixpkgs-unstable
3 years ago
grdddj 6eac12e80e feat(shell.nix): adding pyright as a dependency
3 years ago
Pavol Rusnak a3b83685ef fix(core): fix emulator build on Apple Silicon
3 years ago
amadejpapez 85ba7c12ba style(all): use f-strings for formatting
3 years ago
Martin Milata 2687fd4ade ci: hw: don't skip memory-intensive tests
3 years ago
Martin Milata 31d6cfb52d chore(ci): update alpine-linux to 3.14.2 and nix to 2.3.15
3 years ago
matejcik b6ee69c905 ci: ignore auto-generated files in changelog check (fixes #1785)
3 years ago
Martin Milata 81e66cb024 style(core/rust): enable clippy lints
3 years ago
matejcik 8d7f3fbd15 ci: include whole build/unix/ subdir for rust_test to consume
3 years ago
Martin Milata a7a7570496 ci(core): enable rust unit tests
3 years ago
Martin Milata c80c8edf70 ci(core): add rustfmt to style checks
3 years ago
Martin Milata 7832b2f140 chore(nix): update rust to 1.55
3 years ago
grdddj 1b932a20e8 fix(tests): decoding PNG files to fix Linux/Mac differences in encoding
3 years ago
Pavol Rusnak 08609cf9a1 chore(nix): update rust to 1.54
3 years ago
Martin Milata 412d06fdfe docs(core+legacy): use towncrier for generating CHANGELOG.md
3 years ago
vdovhanych 63a42def17 feat(ci): add sha checksum for alpine download and change to https
3 years ago
Pavol Rusnak acb01916db ci(nix): update nixpkgs, use latest stable rust (1.53.0)
3 years ago
Martin Milata f67544d27a ci: run more tests on hardware
3 years ago
Pavol Rusnak 8ed7bdbc27 chore(ci): update alpine-linux to 3.14.0 and nix to 2.3.14
3 years ago
vdovhanych 6b3e743373 ci: add duration timestamps on all test jobs
3 years ago
Martin Milata f9d4be268e ci: increase timeout for hardware T1 regular test
3 years ago
Martin Milata 07c53452f6 ci: improve changelog check
3 years ago
Martin Milata f771dc6f60 ci(nix): switch to stable rust in shell.nix
3 years ago
Pavol Rusnak 709d9e0dcd
fix(ci): update to latest nixpkgs-unstable
3 years ago
matejcik 1e0a23c133 fix(core/paths): make sure containers are copied along with the numbers they contain
3 years ago
matejcik 791ac56f2f ci: increase hardware test timeouts
3 years ago
matejcik 28978640b3 ci: simplify HW test definitions
3 years ago
matejcik bb96cdc4e6 ci: include monero logs in artifacts
3 years ago
Jan Pochyla 6257584951 feat(core): Add Rust bindings to MicroPython and trezorhal
3 years ago
Martin Milata f58c1634c6 docs(core): use towncrier for generating CHANGELOG.md
3 years ago
Martin Milata 88cdb72aec ci: bump nixpkgs version to latest
3 years ago
Martin Milata 8e00904a3f ci: unified shell.nix for hardware tests
3 years ago
Martin Milata 720eaa3abd ci: run monero tests on hardware
3 years ago
Martin Milata 17324a01a3 ci: more reboots and skipped cases for hardware tests
3 years ago
Martin Milata 99a858a774 ci: hw: skip sd_card tests on TT
3 years ago
Martin Milata 3213557f72 ci: check model before flashing
3 years ago
Martin Milata 17494b2276 ci: reboot more often during hardware regular test
3 years ago
Tomas Susanka 8955d04b5e ci: add fixup check to Github Actions
3 years ago
Martin Milata 11ac8ef19d ci: also build bootloader_ci
3 years ago
Tomas Susanka 6214156c35 fix(ci): strip commit version for emulator releases
3 years ago
Pavol Rusnak 32c37aa9cd
fix(ci): copy nixpkgs.nix to container
3 years ago
Martin Milata c000a803e4 ci: deterministic order for hw tt btconly testcases
3 years ago
Martin Milata 2ecd4eeac2 ci: wait longer for T1 bootup
3 years ago
Martin Milata 6050412ed4 docs: hardware CI test jobs
3 years ago
Martin Milata 73c600d3f5 ci: also run regular tt tests on hw
3 years ago
Martin Milata 55474bdadd ci: use custom uhubctl package
3 years ago
Martin Milata 4d5e6e360f ci: change usb location/ports
3 years ago
Martin Milata c7b021e59e ci: hardware: wipe tt before flashing
3 years ago
Martin Milata ceccf1951a ci: all hw configuration in one place
3 years ago
Martin Milata 4adbb4e8e1 ci: use same pinned nixpkgs for hardware tests
3 years ago
Martin Milata 41bf9201b5 ci: do not rely on TREZOR_PATH, use switch ports instead
3 years ago
Martin Milata ed481b5dde ci: hw tests: tweak wait times
3 years ago
Martin Milata 0a75e02392 ci: skip some tests that cause alloc failure
3 years ago
Martin Milata dedca1bb13 ci: ffmpeg tweaks in hardware tests
3 years ago
Tomas Susanka 708a85a916 ci: run btconly firmware on TT in HW tests
3 years ago
Tomas Susanka 61531fbd4a ci: introduce hardware tests for TT
3 years ago
Pavol Rusnak 250f09245b
ci: drop experimental --platform argument from docker
3 years ago
Pavol Rusnak 1f5d8b89d7
nix: stdenv.lib -> lib
3 years ago
Tomas Susanka 677465eecd ci: update Monero test binary to latest 0.17.1.9
3 years ago
Pavol Rusnak 453df567d3 ci: various fixes and updates
3 years ago
Pavol Rusnak b9c0b597bc nix: bump stable nixos-20.09 to latest
4 years ago
Martin Milata a0fccca041 ci(core): increase PYTEST_TIMEOUT for memory profiling
4 years ago
matejcik faa57e29db build(core): include generated resources.py in repo
4 years ago
Pavol Rusnak 50fdd183c2
ci: enable editorconfig checks, fix whitespace issues
4 years ago
Pavol Rusnak 473fb1a3a6
ci: enable yaml checks
4 years ago
Tomas Susanka 09a8d4229e feat(ci): introduce yamllint
4 years ago
Tomas Susanka 1f90a13372 ci: change [NO MASTER] to [RELEASE ONLY] in release check
4 years ago
Tomas Susanka 859aa23752 ci: remove 'changes' from prebuild
4 years ago
Tomas Susanka cc3d86f0dd ci: skip submodules download where applicable
4 years ago
Martin Milata c89a8b7bd5 ci(core): add memory profiler job
4 years ago
Tomas Susanka fd90bb9d10 ci: remove darwin emulator deploy
4 years ago
Tomas Susanka dfd93b6759 ci: distinguish between t1 and tt on firmware corp server
4 years ago
Martin Milata 9ed25a718a ci: handle full dependencies in shell.nix
4 years ago
Tomas Susanka 6cb601509b ci: skip macos build for now
4 years ago
Tomas Susanka 2101ff8904 ci: also remove docker pull from environment, it is not needed
4 years ago
Pavol Rusnak 2fcc34c301
ci: another try with the environment
4 years ago
Pavol Rusnak 940400998a
ci(dockerfile): fix other python versions
4 years ago
Pavol Rusnak 6cc1d70f2e
ci(dockerfile): fix python versions
4 years ago
Tomas Susanka 3a8e46467a ci: fix firmware versions in deploy jobs
4 years ago
Pavol Rusnak 2e4d67165f
ci(nix): update nixpkgs to latest nixos-20.09 stable
4 years ago
Pavol Rusnak 4fdb62c2e2 chore(python): replace pipenv with poetry
4 years ago
Pavol Rusnak 98ea241e97
ci: use alternative list syntax for needs
4 years ago
Tomas Susanka 99e0faafb6 test(core): print fixtures suggestion after the test
4 years ago
Tomas Susanka 225966ea7c ci: fix date epoch in shell.nix not in Gitlab yml file
4 years ago
matejcik 1f5c08c9a2 ci: add .gitlab-ci.yml as explicit trigger whenever ci/** is a trigger
4 years ago
matejcik e4785d47e0 style: apply black 20.8b1
4 years ago
Tomas Susanka 5edd0a55f3 ci: document arduino pins
4 years ago
Tomas Susanka c7b6d98cfc tests/upgrade-tests: modify paths in release jobs and add job for MacOS
4 years ago
Tomas Susanka c52c93aea0 ci: add core btconly debug build and deploy it during release
4 years ago
Tomas Susanka 00593dc6d6 ci: fix builds for MacOS
4 years ago
Tomas Susanka db020c7a47 ci: run HW tests for secfix branches
4 years ago
Tomas Susanka 141d9099f5 ci: remove release candidates deploy
4 years ago
Martin Milata 71c5bc4e3b ci: fail if coverage falls under threshold
4 years ago
Tomas Susanka 13c11e756e ci: replace 'dependends' with 'needs'
4 years ago
Pavol Rusnak c3892b75bd
ci: test python on Pipfile.lock/poetry.lock
4 years ago
Pavol Rusnak e0ee8266ec
poetry: add pyproject.toml + lock file
4 years ago
Tomas Susanka 01ac2ec48d ci: run release commit message check only on one Gitlab
4 years ago
Tomas Susanka fa39948683 ci: fix release commit check
4 years ago
Pavol Rusnak ac9047a438
ci/build: fix typo in "core fw btconly t1 build"
4 years ago
Tomas Susanka fb583cf0fa ci: fix release commit message check
4 years ago
Pavol Rusnak efc5ccdaf0
core: remove src1
4 years ago
Pavol Rusnak 063aba910d core: rename emulator to trezor-emu-core
4 years ago
Pavol Rusnak f71958b63f
ci: build T1 firmware
4 years ago
Tomas Susanka 698b632acb ci: add btconly debug build and run hardware tests for it
4 years ago
Pavol Rusnak 8d94b13d3a
ci/test: fix coverage by moving the files to correct subdir
4 years ago
Tomas Susanka e6889245e8 ci: set core/legacy version in .gitlab.yml
4 years ago
Tomas Susanka 040b4a1ee7 ci: fix VERSION export from version.h
4 years ago
Pavol Rusnak 82c0c40367
ci: make nix-shell available on darwin in before_script
4 years ago
Pavol Rusnak 25a2e690fe
ci/test: set C.UTF-8 locale for Python tests
4 years ago
Tomas Susanka 2b4de8e270
ci: use nix docker image
4 years ago
Pavol Rusnak 8f6a6c098e
ci/Dockerfile: use nix-shell instead of nix-env
4 years ago
Pavol Rusnak 09a212dca0
nix: use the latest snapshot of nixos-unstable
4 years ago
Pavol Rusnak 6d1e97884c
nix: add procps and wget
4 years ago
Pavol Rusnak 937336e6b6
nix: add bash, use openssl instead of libressl
4 years ago
Pavol Rusnak 6c09c61978
nix: unify ci/shell.nix and shell.nix
4 years ago
Tomas Susanka 0c734dc8fd ci: remove shell hook
4 years ago
Tomas Susanka 6ebb388905 ci: add debug firmwares to releases
4 years ago
Tomas Susanka 39f5b065d3 tests/hardware: add sleep to update_firmware and always publish artifacts
4 years ago