1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

ci: add .gitlab-ci.yml as explicit trigger whenever ci/** is a trigger

This commit is contained in:
matejcik 2020-09-25 15:50:53 +02:00
parent 243df6edcb
commit 1f5c08c9a2
3 changed files with 7 additions and 0 deletions

View File

@ -158,6 +158,7 @@ crypto build:
needs: [] needs: []
only: only:
changes: changes:
- .gitlab-ci.yml
- ci/**/* - ci/**/*
- crypto/**/* - crypto/**/*
script: script:

View File

@ -4,6 +4,7 @@ style prebuild:
stage: prebuild stage: prebuild
only: only:
changes: changes:
- .gitlab-ci.yml
- ci/**/* - ci/**/*
- "**/*.c" - "**/*.c"
- "**/*.h" - "**/*.h"
@ -15,6 +16,7 @@ common prebuild:
stage: prebuild stage: prebuild
only: only:
changes: changes:
- .gitlab-ci.yml
- ci/**/* - ci/**/*
- "**/*.json" - "**/*.json"
- "**/*.proto" - "**/*.proto"
@ -25,6 +27,7 @@ gen prebuild:
stage: prebuild stage: prebuild
only: only:
changes: changes:
- .gitlab-ci.yml
- ci/**/* - ci/**/*
- "**/*.c" - "**/*.c"
- "**/*.h" - "**/*.h"

View File

@ -173,6 +173,7 @@ crypto test:
stage: test stage: test
only: only:
changes: changes:
- .gitlab-ci.yml
- ci/**/* - ci/**/*
- crypto/**/* - crypto/**/*
needs: ["crypto build"] needs: ["crypto build"]
@ -259,6 +260,7 @@ python test:
changes: changes:
- Pipfile.lock - Pipfile.lock
- poetry.lock - poetry.lock
- .gitlab-ci.yml
- ci/**/* - ci/**/*
- common/**/* - common/**/*
- python/**/* - python/**/*
@ -272,6 +274,7 @@ storage test:
stage: test stage: test
only: only:
changes: changes:
- .gitlab-ci.yml
- ci/**/* - ci/**/*
- storage/**/* - storage/**/*
needs: [] needs: []