.gitlab-ci.yml 1.41 KB
Newer Older
1
# # GitLab CI Job Configuration
2
#
3
4
5
6
# Goal: Run all jobs defined here on all available runners (GNU/Linux and
# Windows).
# 
# ## Job Description Syntax
7
8
#
# <job_name>:                   # Job name which is displayed in web interface.
9
10
#   stage: <stage_name>         # Run "script" commands in this stage. The
#                               # stages are exececuted sequentially.
11
12
13
14
15
#   script:
#      - <arbitrary_commands>   # Here you can execute arbitratry terminal
#                               # commands. If any of the commands return a
#                               # non-zero exit code, the job fails.
#
16
# ## References
17
#
18
# - https://docs.gitlab.com/ee/ci/yaml/README.html
19

20
21
22
stages:
    - unit_test
    - integration_test
23

24
include: .gitlab-ci-templates.yml
25

26
27
28
29
30
# Jobs for GNU/Linux runner (which is labelled with tag "linux")
run_unit_tests_on_linux:
    extends: .template_unit_tests
    tags:
        - linux
31

32
33
34
35
run_scenario_files_on_linux:
    extends: .template_scenario_files
    tags:
        - linux
36

37
38
39
40
41
42
43
44
45
46
run_seed_test_on_linux:
    extends: .template_seed_test
    tags:
        - linux
        
# Jobs for Windows runner (which is labelled with tag "windows")
run_unit_tests_on_windows:
    extends: .template_unit_tests
    tags:
        - windows
47

48
49
50
51
run_scenario_files_on_windows:
    extends: .template_scenario_files
    tags:
        - windows
52

53
54
55
56
run_seed_test_on_windows:
    extends: .template_seed_test
    tags:
        - windows