1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
trezor-firmware/ci/prebuild.yml
Tomas Susanka 503bbb0eb3 ci: add check for release branches
If release branch, CI now checks that all commits are either
cherry-picked from master (using `-x` option) or contain [NO MASTER].
2020-04-24 16:49:29 +00:00

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