-
Notifications
You must be signed in to change notification settings - Fork 25
/
.gitlab-ci.yml
101 lines (93 loc) · 2.7 KB
/
.gitlab-ci.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
image: gcc
before_script:
- apt-get update -qq && apt-get install -y -qq --no-install-recommends ca-certificates curl bzip2 gcc make dist libxtst-dev libgtk2.0-dev libgtk-3-dev libgdk-pixbuf2.0-dev libssl-dev dos2unix
- cd $CI_PROJECT_DIR
- export dir=`pwd` ; echo dir=$dir ; cd ..
- curl -sSL https://www.eiffel.org/setup/install.sh | bash -s nightly > eiffel.rc
- source ./eiffel.rc
- echo `ec -version`
variables:
EIFFEL_SRC: '$CI_PROJECT_DIR/Src'
testing_job:
stage: test
tags:
- linux
when: always
script:
- cd $CI_PROJECT_DIR
- export dir=$CI_PROJECT_DIR
- export EIFFEL_SRC=$dir/Src
- export EWEASEL=$dir/eweasel
- export ISE_LIBRARY=$EIFFEL_SRC
- export XEBRA_LIBRARY=$EIFFEL_SRC/framework/web/xebra/eiffel_projects/library
- echo Prepare EIFFEL_SRC
- cd $EIFFEL_SRC
- geant prepare
- ec -config $ISE_LIBRARY/library/base/testing/testing.ecf -clean -tests
only:
refs:
- master
- merge_requests
- schedules
linux_compile_all_library_job:
stage: test
tags:
- linux
when: always
script:
- cd $CI_PROJECT_DIR
- export dir=$CI_PROJECT_DIR
- export EIFFEL_SRC=$dir/Src
- export EWEASEL=$dir/eweasel
- export ISE_LIBRARY=$EIFFEL_SRC
- export XEBRA_LIBRARY=$EIFFEL_SRC/framework/web/xebra/eiffel_projects/library
- echo Check projects compilation status...
- export COMPILEALL_DIR=library
- export COMPILEALL_IGNORE=scripts/CI/compile_all/stable_others.ini
- export COMPILEALL_IGNORE=
- sh $EIFFEL_SRC/scripts/CI/travis-ci-compile_all.sh $EIFFEL_SRC/$COMPILEALL_DIR $EIFFEL_SRC/$COMPILEALL_IGNORE
only:
refs:
- master
- merge_requests
- schedules
linux_compile_all_tools_job:
stage: test
tags:
- linux
when: always
script:
- cd $CI_PROJECT_DIR
- export dir=$CI_PROJECT_DIR
- export EIFFEL_SRC=$dir/Src
- export EWEASEL=$dir/eweasel
- export ISE_LIBRARY=$EIFFEL_SRC
- export XEBRA_LIBRARY=$EIFFEL_SRC/framework/web/xebra/eiffel_projects/library
- echo Check projects compilation status...
- export COMPILEALL_DIR=tools
- export COMPILEALL_IGNORE=
- sh $EIFFEL_SRC/scripts/CI/travis-ci-compile_all.sh $EIFFEL_SRC/$COMPILEALL_DIR $EIFFEL_SRC/$COMPILEALL_IGNORE
only:
refs:
- master
- merge_requests
- schedules
linux_eweasel_job:
stage: test
tags:
- linux
when: manual
script:
- cd $CI_PROJECT_DIR
- export dir=$CI_PROJECT_DIR
- export EIFFEL_SRC=$dir/Src
- export ISE_LIBRARY=$EIFFEL_SRC
- export EWEASEL=$EIFFEL_SRC/../eweasel
- sh $EIFFEL_SRC/scripts/CI/ci-eweasel.sh $dir $dir/test_dir
only:
refs:
- master
- merge_requests
- schedules
stages:
- test