summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-10-17 22:41:03 +0200
committerBoris Faure <billiob@gmail.com>2019-10-17 22:41:03 +0200
commit8dcfc51f1e283c6fa6f58ca2bc0de2659c747688 (patch)
treebe9a4365ec23105d829ff105d5cd3684a425d2b6
parent688a45dc150e295a084b86d17d59dcd30ca54205 (diff)
circleci: test with efl-1.23.1 and rework file
-rw-r--r--.circleci/config.yml121
1 files changed, 80 insertions, 41 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 74174e0..d61ea66 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -20,52 +20,41 @@ jobs:
20 key: checkout-{{ .Environment.CIRCLE_SHA1 }} 20 key: checkout-{{ .Environment.CIRCLE_SHA1 }}
21 paths: 21 paths:
22 - /terminology 22 - /terminology
23 23 build_minimal_gcc_efl-1.20:
24 build_full_clang_efl-1.22:
25 docker: 24 docker:
26 - image: borisfaure/terminology-ci:latest 25 - image: borisfaure/terminology-ci:latest
27 environment:
28 - CC: clang
29 steps: 26 steps:
30 - restore_cache: 27 - restore_cache:
31 key: checkout-{{ .Environment.CIRCLE_SHA1 }} 28 key: checkout-{{ .Environment.CIRCLE_SHA1 }}
32 - run: 29 - run:
33 name: Install EFL 30 name: Install EFL
34 command: apk add /pkg/efl-1.22.6-r0.apk /pkg/efl-dev-1.22.6-r0.apk 31 command: apk add /pkg/efl-1.20.7-r0.apk /pkg/efl-dev-1.20.7-r0.apk
35 - run: 32 - run:
36 name: Compile with Clang 33 name: Compile with GCC
37 command: | 34 command: |
38 cd /terminology 35 cd /terminology
39 meson -Dtests=true -Dfuzzing=true . build 36 meson . build
40 meson configure build 37 meson configure build
41 cd build 38 cd build
42 ninja -j4 39 ninja -j4
43 build_and_test_clang_ubsan_efl-1.22: 40 build_minimal_gcc_efl-1.21:
44 docker: 41 docker:
45 - image: borisfaure/terminology-ci:latest 42 - image: borisfaure/terminology-ci:latest
46 environment:
47 - CC: clang
48 - CFLAGS: -O0 -pipe -g -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize-recover=undefined
49 steps: 43 steps:
50 - restore_cache: 44 - restore_cache:
51 key: checkout-{{ .Environment.CIRCLE_SHA1 }} 45 key: checkout-{{ .Environment.CIRCLE_SHA1 }}
52 - run: 46 - run:
53 name: Install EFL 47 name: Install EFL
54 command: apk add /pkg/efl-1.22.6-r0.apk /pkg/efl-dev-1.22.6-r0.apk 48 command: apk add /pkg/efl-1.21.1-r0.apk /pkg/efl-dev-1.21.1-r0.apk
55 - run: 49 - run:
56 name: Compile with Clang 50 name: Compile with GCC
57 command: | 51 command: |
58 cd /terminology 52 cd /terminology
59 meson -Dtests=true . build 53 meson . build
60 meson configure build 54 meson configure build
61 cd build 55 cd build
62 ninja -j4 56 ninja -j4
63 - run: 57 build_minimal_gcc_efl-1.22:
64 name: Launch tests
65 command: |
66 cd /terminology
67 tests/run_tests.sh -v -t build/src/bin/tytest -r tests/tests.results -d tests/
68 build_full_gcc_efl-1.22:
69 docker: 58 docker:
70 - image: borisfaure/terminology-ci:latest 59 - image: borisfaure/terminology-ci:latest
71 steps: 60 steps:
@@ -76,19 +65,13 @@ jobs:
76 command: apk add /pkg/efl-1.22.6-r0.apk /pkg/efl-dev-1.22.6-r0.apk 65 command: apk add /pkg/efl-1.22.6-r0.apk /pkg/efl-dev-1.22.6-r0.apk
77 - run: 66 - run:
78 name: Compile with GCC 67 name: Compile with GCC
79 environment:
80 CFLAGS: -O0 -g
81 command: | 68 command: |
82 cd /terminology 69 cd /terminology
83 meson -Dtests=true -Dfuzzing=true -Db_coverage=true . build 70 meson . build
84 meson configure build 71 meson configure build
85 cd build 72 cd build
86 ninja -j4 73 ninja -j4
87 - save_cache: 74 build_minimal_gcc_efl-1.23:
88 key: build_full_gcc-efl-1.22-{{ .Environment.CIRCLE_SHA1 }}
89 paths:
90 - /terminology
91 build_minimal_gcc_efl-1.21:
92 docker: 75 docker:
93 - image: borisfaure/terminology-ci:latest 76 - image: borisfaure/terminology-ci:latest
94 steps: 77 steps:
@@ -96,7 +79,7 @@ jobs:
96 key: checkout-{{ .Environment.CIRCLE_SHA1 }} 79 key: checkout-{{ .Environment.CIRCLE_SHA1 }}
97 - run: 80 - run:
98 name: Install EFL 81 name: Install EFL
99 command: apk add /pkg/efl-1.21.1-r0.apk /pkg/efl-dev-1.21.1-r0.apk 82 command: apk add /pkg/efl-1.23.1-r0.apk /pkg/efl-dev-1.23.1-r0.apk
100 - run: 83 - run:
101 name: Compile with GCC 84 name: Compile with GCC
102 command: | 85 command: |
@@ -105,7 +88,7 @@ jobs:
105 meson configure build 88 meson configure build
106 cd build 89 cd build
107 ninja -j4 90 ninja -j4
108 build_minimal_gcc_efl-1.20: 91 build_full_gcc_efl_latest:
109 docker: 92 docker:
110 - image: borisfaure/terminology-ci:latest 93 - image: borisfaure/terminology-ci:latest
111 steps: 94 steps:
@@ -113,24 +96,30 @@ jobs:
113 key: checkout-{{ .Environment.CIRCLE_SHA1 }} 96 key: checkout-{{ .Environment.CIRCLE_SHA1 }}
114 - run: 97 - run:
115 name: Install EFL 98 name: Install EFL
116 command: apk add /pkg/efl-1.20.7-r0.apk /pkg/efl-dev-1.20.7-r0.apk 99 command: apk add /pkg/efl-latest.apk /pkg/efl-dev-latest.apk
117 - run: 100 - run:
118 name: Compile with GCC 101 name: Compile with GCC
102 environment:
103 CFLAGS: -O0 -g
119 command: | 104 command: |
120 cd /terminology 105 cd /terminology
121 meson . build 106 meson -Dtests=true -Dfuzzing=true -Db_coverage=true . build
122 meson configure build 107 meson configure build
123 cd build 108 cd build
124 ninja -j4 109 ninja -j4
125 tests_gcc: 110 - save_cache:
111 key: build_full_gcc_efl_latest-{{ .Environment.CIRCLE_SHA1 }}
112 paths:
113 - /terminology
114 tests_gcc_efl_latest:
126 docker: 115 docker:
127 - image: borisfaure/terminology-ci:latest 116 - image: borisfaure/terminology-ci:latest
128 steps: 117 steps:
129 - restore_cache: 118 - restore_cache:
130 key: build_full_gcc-efl-1.22-{{ .Environment.CIRCLE_SHA1 }} 119 key: build_full_gcc_efl_latest-{{ .Environment.CIRCLE_SHA1 }}
131 - run: 120 - run:
132 name: Install EFL 121 name: Install EFL
133 command: apk add /pkg/efl-1.22.6-r0.apk /pkg/efl-dev-1.22.6-r0.apk 122 command: apk add /pkg/efl-latest.apk /pkg/efl-dev-latest.apk
134 - run: 123 - run:
135 name: Launch tests 124 name: Launch tests
136 command: | 125 command: |
@@ -149,27 +138,77 @@ jobs:
149 chmod +x .codecov 138 chmod +x .codecov
150 sed -i.bak 's/execdir/exec/' .codecov 139 sed -i.bak 's/execdir/exec/' .codecov
151 ./.codecov -Z 140 ./.codecov -Z
141 build_full_clang_efl_latest:
142 docker:
143 - image: borisfaure/terminology-ci:latest
144 environment:
145 - CC: clang
146 steps:
147 - restore_cache:
148 key: checkout-{{ .Environment.CIRCLE_SHA1 }}
149 - run:
150 name: Install EFL
151 command: apk add /pkg/efl-latest.apk /pkg/efl-dev-latest.apk
152 - run:
153 name: Compile with Clang
154 command: |
155 cd /terminology
156 meson -Dtests=true -Dfuzzing=true . build
157 meson configure build
158 cd build
159 ninja -j4
160 build_and_test_clang_ubsan_efl_latest:
161 docker:
162 - image: borisfaure/terminology-ci:latest
163 environment:
164 - CC: clang
165 - CFLAGS: -O0 -pipe -g -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize-recover=undefined
166 steps:
167 - restore_cache:
168 key: checkout-{{ .Environment.CIRCLE_SHA1 }}
169 - run:
170 name: Install EFL
171 command: apk add /pkg/efl-latest.apk /pkg/efl-dev-latest.apk
172 - run:
173 name: Compile with Clang
174 command: |
175 cd /terminology
176 meson -Dtests=true . build
177 meson configure build
178 cd build
179 ninja -j4
180 - run:
181 name: Launch tests
182 command: |
183 cd /terminology
184 tests/run_tests.sh -v -t build/src/bin/tytest -r tests/tests.results -d tests/
152path: /terminology 185path: /terminology
153workflows: 186workflows:
154 version: 2 187 version: 2
155 build-and-deploy: 188 build-and-deploy:
156 jobs: 189 jobs:
157 - checkout_code 190 - checkout_code
158 - build_full_gcc_efl-1.22: 191 - build_minimal_gcc_efl-1.20:
159 requires: 192 requires:
160 - checkout_code 193 - checkout_code
161 - build_minimal_gcc_efl-1.21: 194 - build_minimal_gcc_efl-1.21:
162 requires: 195 requires:
163 - checkout_code 196 - checkout_code
164 - build_minimal_gcc_efl-1.20: 197 - build_minimal_gcc_efl-1.22:
198 requires:
199 - checkout_code
200 - build_minimal_gcc_efl-1.23:
201 requires:
202 - checkout_code
203 - build_full_gcc_efl_latest:
165 requires: 204 requires:
166 - checkout_code 205 - checkout_code
167 - tests_gcc: 206 - tests_gcc_efl_latest:
168 requires: 207 requires:
169 - build_full_gcc_efl-1.22 208 - build_full_gcc_efl_latest
170 - build_full_clang_efl-1.22: 209 - build_full_clang_efl_latest:
171 requires: 210 requires:
172 - checkout_code 211 - checkout_code
173 - build_and_test_clang_ubsan_efl-1.22: 212 - build_and_test_clang_ubsan_efl_latest:
174 requires: 213 requires:
175 - checkout_code 214 - checkout_code