billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=86420ba22ed59caa67866316f9937672a5f60d47

commit 86420ba22ed59caa67866316f9937672a5f60d47
Author: Boris Faure <bill...@gmail.com>
Date:   Sun Jul 7 18:14:22 2019 +0200

    circleci: run tests with UndefinedBehaviorSanitizer
---
 .circleci/config.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 37f535b..7276134 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -40,6 +40,31 @@ jobs:
             meson configure build
             cd build
             ninja -j4
+  build_and_test_clang_ubsan_efl-1.22:
+    docker:
+      - image: borisfaure/terminology-ci:latest
+    environment:
+      - CC: clang
+      - CFLAGS: CFLAGS="-O0 -pipe -g -fno-omit-frame-pointer 
-fsanitize=undefined -fno-sanitize-recover=undefined"
+    steps:
+      - restore_cache:
+          key: checkout-{{ .Environment.CIRCLE_SHA1 }}
+      - run:
+          name: Install EFL
+          command: apk add /pkg/efl-22/efl-1.22.2-r0.apk 
/pkg/efl-22/efl-dev-1.22.2-r0.apk
+      - run:
+          name: Compile with Clang
+          command: |
+            cd /terminology
+            meson -Dtests=true . build
+            meson configure build
+            cd build
+            ninja -j4
+      - run:
+          name: Launch tests
+          command: |
+            cd /terminology
+            tests/run_tests.sh -v -t build/src/bin/tytest -r 
tests/tests.results -d tests/
   build_full_gcc_efl-1.22:
     docker:
       - image: borisfaure/terminology-ci:latest
@@ -145,3 +170,6 @@ workflows:
       - build_full_clang_efl-1.22:
           requires:
             - checkout_code
+      - build_and_test_clang_ubsan_efl-1.22:
+          requires:
+            - checkout_code

-- 


Reply via email to