mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
503bbb0eb3
If release branch, CI now checks that all commits are either cherry-picked from master (using `-x` option) or contain [NO MASTER].
44 lines
755 B
YAML
44 lines
755 B
YAML
image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/environment
|
|
|
|
style prebuild:
|
|
stage: prebuild
|
|
only:
|
|
changes:
|
|
- ci/**/*
|
|
- "**/*.c"
|
|
- "**/*.h"
|
|
- "**/*.py"
|
|
script:
|
|
- pipenv run make style_check
|
|
|
|
common prebuild:
|
|
stage: prebuild
|
|
only:
|
|
changes:
|
|
- ci/**/*
|
|
- "**/*.json"
|
|
- "**/*.proto"
|
|
script:
|
|
- pipenv run make defs_check
|
|
|
|
gen prebuild:
|
|
stage: prebuild
|
|
only:
|
|
changes:
|
|
- ci/**/*
|
|
- "**/*.c"
|
|
- "**/*.h"
|
|
- "**/*.json"
|
|
- "**/*.proto"
|
|
- "**/*.py"
|
|
- "**/*.pyi"
|
|
script:
|
|
- pipenv run make gen_check
|
|
|
|
release commit messages prebuild:
|
|
stage: prebuild
|
|
only:
|
|
- /^release\//
|
|
script:
|
|
- ci/check_release_commit_messages.sh
|