mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
ci: Build things on doc chanegs as well
I give up, this is a big hammer but should fix doc only changes MRs from not triggering builds properly. We could technically try only build certain jobs on doc only changes but I couldn't get it to work.
This commit is contained in:
parent
4aed167a9a
commit
00f0d318a6
|
@ -21,10 +21,12 @@
|
||||||
- ".gitlab-ci/**/*"
|
- ".gitlab-ci/**/*"
|
||||||
when: on_success
|
when: on_success
|
||||||
# All paths, 1 hours have been wasted trying to combine the above arrays.
|
# All paths, 1 hours have been wasted trying to combine the above arrays.
|
||||||
- changes: &paths-ci-code-sys-files
|
- changes: &paths-all-files
|
||||||
# Code
|
# Code
|
||||||
- "scripts/**/*"
|
- "scripts/**/*"
|
||||||
- "src/**/*"
|
- "src/**/*"
|
||||||
|
# Doc
|
||||||
|
- "doc/**/*"
|
||||||
# Build sys
|
# Build sys
|
||||||
- CMakeLists.txt
|
- CMakeLists.txt
|
||||||
- "*.cmake"
|
- "*.cmake"
|
||||||
|
@ -36,14 +38,13 @@
|
||||||
- ".gitlab-ci/**/*"
|
- ".gitlab-ci/**/*"
|
||||||
when: on_success
|
when: on_success
|
||||||
|
|
||||||
|
|
||||||
# When to automatically run the CI for build jobs
|
# When to automatically run the CI for build jobs
|
||||||
.build-rules:
|
.build-rules:
|
||||||
rules:
|
rules:
|
||||||
# If any files affecting the pipeline are changed, build/test jobs run
|
# If any files affecting the pipeline are changed, build/test jobs run
|
||||||
# automatically once all dependency jobs have passed
|
# automatically once all dependency jobs have passed
|
||||||
- changes:
|
- changes:
|
||||||
*paths-ci-code-sys-files
|
*paths-all-files
|
||||||
when: on_success
|
when: on_success
|
||||||
# Don't build on forked repos.
|
# Don't build on forked repos.
|
||||||
- if: *is-forked-branch
|
- if: *is-forked-branch
|
||||||
|
@ -63,7 +64,7 @@
|
||||||
# affecting the pipeline were changed
|
# affecting the pipeline were changed
|
||||||
- if: *is-pre-merge
|
- if: *is-pre-merge
|
||||||
changes:
|
changes:
|
||||||
*paths-ci-code-sys-files
|
*paths-all-files
|
||||||
when: on_success
|
when: on_success
|
||||||
# Allow triggering jobs manually in other cases if any files affecting the
|
# Allow triggering jobs manually in other cases if any files affecting the
|
||||||
# pipeline were changed: Disabled for now because it causes the pipeline on
|
# pipeline were changed: Disabled for now because it causes the pipeline on
|
||||||
|
|
Loading…
Reference in a new issue