2020-06-07 19:49:06 +00:00
|
|
|
image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/trezor-firmware-env.nix
|
2019-04-27 17:16:50 +00:00
|
|
|
|
2019-09-04 08:53:40 +00:00
|
|
|
style prebuild:
|
2019-04-27 17:16:50 +00:00
|
|
|
stage: prebuild
|
2019-09-05 15:44:55 +00:00
|
|
|
only:
|
|
|
|
changes:
|
|
|
|
- ci/**/*
|
|
|
|
- "**/*.c"
|
|
|
|
- "**/*.h"
|
|
|
|
- "**/*.py"
|
2019-04-27 17:16:50 +00:00
|
|
|
script:
|
2020-06-07 19:49:06 +00:00
|
|
|
- nix-shell --run "pipenv run make style_check"
|
2019-04-27 17:16:50 +00:00
|
|
|
|
2019-09-04 08:53:40 +00:00
|
|
|
common prebuild:
|
2019-04-27 17:16:50 +00:00
|
|
|
stage: prebuild
|
2019-09-05 15:44:55 +00:00
|
|
|
only:
|
|
|
|
changes:
|
|
|
|
- ci/**/*
|
|
|
|
- "**/*.json"
|
|
|
|
- "**/*.proto"
|
2019-04-27 17:16:50 +00:00
|
|
|
script:
|
2020-06-07 19:49:06 +00:00
|
|
|
- nix-shell --run "pipenv run make defs_check"
|
2019-05-17 13:14:41 +00:00
|
|
|
|
2019-09-04 08:53:40 +00:00
|
|
|
gen prebuild:
|
2019-05-17 13:14:41 +00:00
|
|
|
stage: prebuild
|
2019-09-05 15:44:55 +00:00
|
|
|
only:
|
|
|
|
changes:
|
|
|
|
- ci/**/*
|
|
|
|
- "**/*.c"
|
|
|
|
- "**/*.h"
|
|
|
|
- "**/*.json"
|
|
|
|
- "**/*.proto"
|
|
|
|
- "**/*.py"
|
2019-09-25 10:30:48 +00:00
|
|
|
- "**/*.pyi"
|
2019-05-17 13:14:41 +00:00
|
|
|
script:
|
2020-06-07 19:49:06 +00:00
|
|
|
- nix-shell --run "pipenv run make gen_check"
|
2020-04-23 11:32:27 +00:00
|
|
|
|
|
|
|
release commit messages prebuild:
|
|
|
|
stage: prebuild
|
|
|
|
only:
|
|
|
|
- /^release\//
|
|
|
|
script:
|
2020-06-07 19:49:06 +00:00
|
|
|
- nix-shell --run "ci/check_release_commit_messages.sh"
|