From 65e34d861fa684074cd898104076d1dba041b992 Mon Sep 17 00:00:00 2001 From: Sylvain Laperche Date: Fri, 12 Oct 2018 16:21:46 +0200 Subject: [PATCH] run the unit tests in all SIMD mode Now, we are sure that every codepath is covered and we won't silently break one of them. Refs: #222, #251 --- .circleci/config.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0be7116e..230d1d45 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,7 +46,7 @@ jobs: steps: - checkout - run: - name: Compilation + name: Bootstrap command: > mkdir build && cd build && cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=ON 'Unix Makefiles' .. && @@ -58,8 +58,24 @@ jobs: name: Lint command: cd build && make check-lint - run: - name: Unit tests - command: cd build && make check + name: Unit tests (No SIMD) + command: > + rm -rf build && mkdir build && cd build && + cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=OFF 'Unix Makefiles' .. && + make check + - run: + name: Unit tests (SSE) + command: > + rm -rf build && mkdir build && cd build && + cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=SSE 'Unix Makefiles' .. && + make check + - run: + name: Unit tests (AVX) + command: > + rm -rf build && mkdir build && cd build && + cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=AVX 'Unix Makefiles' .. && + make check + benchmark: docker: - image: slaperche0scality/quadiron:latest