-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
49 lines (41 loc) · 952 Bytes
/
.gitlab-ci.yml
File metadata and controls
49 lines (41 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
variables:
JOB_TAG: "linux"
IMAGE_CBACHHUBER_CLANG_PREFIX: ""
IMAGE_CBACHHUBER_CLANG_TAG: "cbachhuber/clang:12"
GIT_MPEG_EXPERT_ACCESS_URL: "https://gitlab-ci-token:${CI_JOB_TOKEN}@git.mpeg.expert"
stages:
- check
- build
- test
default:
interruptible: true
tags:
- ${JOB_TAG}
include:
- /.gitlab/checks.yml
- /.gitlab/builds.yml
- /.gitlab/tests.yml
.trigger: &trigger_launch
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- .clang-format
- .clang-tidy
- .gitlab-ci.yml
- ".gitlab/*.yml"
- "**/CMakeLists.txt"
- "**/*.cmake"
- "**/*.cmake.in"
- "**/*.cpp"
- "**/*.h"
- "**/*.hpp"
- "scripts/test/*.py"
clang-format:
<<: *trigger_launch
Clang 12 Debug:
<<: *trigger_launch
GCC 10 Release:
<<: *trigger_launch
Metrics:
<<: *trigger_launch