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 12, 2018
1 parent 1e2881d commit 67dd8f2
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,35 @@ 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' .. &&
make
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=ON 'Unix Makefiles' ..
- run:
name: Format
command: cd build && make check-format
- run:
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 67dd8f2

Please sign in to comment.