1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00
trezor-firmware/ci/prebuild.yml
2020-07-03 17:33:59 +02:00

44 lines
839 B
YAML

image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/trezor-firmware-env.nix
style prebuild:
stage: prebuild
only:
changes:
- ci/**/*
- "**/*.c"
- "**/*.h"
- "**/*.py"
script:
- nix-shell --run "pipenv run make style_check"
common prebuild:
stage: prebuild
only:
changes:
- ci/**/*
- "**/*.json"
- "**/*.proto"
script:
- nix-shell --run "pipenv run make defs_check"
gen prebuild:
stage: prebuild
only:
changes:
- ci/**/*
- "**/*.c"
- "**/*.h"
- "**/*.json"
- "**/*.proto"
- "**/*.py"
- "**/*.pyi"
script:
- nix-shell --run "pipenv run make gen_check"
release commit messages prebuild:
stage: prebuild
only:
- /^release\//
script:
- nix-shell --run "ci/check_release_commit_messages.sh"