1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00
trezor-firmware/ci/prebuild.yml

44 lines
839 B
YAML
Raw Normal View History

2020-06-07 19:49:06 +00:00
image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/trezor-firmware-env.nix
style prebuild:
stage: prebuild
only:
changes:
- ci/**/*
- "**/*.c"
- "**/*.h"
- "**/*.py"
script:
2020-06-07 19:49:06 +00:00
- nix-shell --run "pipenv run make style_check"
common prebuild:
stage: prebuild
only:
changes:
- ci/**/*
- "**/*.json"
- "**/*.proto"
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
gen prebuild:
2019-05-17 13:14:41 +00:00
stage: prebuild
only:
changes:
- ci/**/*
- "**/*.c"
- "**/*.h"
- "**/*.json"
- "**/*.proto"
- "**/*.py"
- "**/*.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"
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"