Skip to content

Commit

Permalink
run the unit tests in all SIMD mode
Browse files Browse the repository at this point in the history
That way, we are sure that every codepath is covered and we won't
silently break one of them.

Refs: scality#222, scality#251
  • Loading branch information
slaperche-scality committed Oct 15, 2018
1 parent f7a9b01 commit 2b4754b
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
steps:
- checkout
- run:
name: Compilation
name: Boostrap
command: >
mkdir build && cd build &&
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=ON 'Unix Makefiles' .. &&
Expand All @@ -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
Expand Down

0 comments on commit 2b4754b

Please sign in to comment.