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 de57f81
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,31 @@ jobs:
- image: slaperche0scality/quadiron:latest
steps:
- checkout
- run:
name: Compilation
command: >
mkdir build && cd build &&
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=ON 'Unix Makefiles' .. &&
make
- run:
name: Format
command: cd build && make check-format
command: mkdir -p build && cd build && make check-format
- run:
name: Lint
command: cd build && make check-lint
command: mkdir -p build && cd build && make check-lint
- run:
name: Unit tests
command: cd build && make check
name: Unit tests (No SIMD)
command: >
mkdir -p build && cd build &&
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=OFF 'Unix Makefiles' .. &&
make check
- run:
name: Unit tests (SSE)
command: >
mkdir -p build && cd build &&
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DUSE_SIMD=SSE 'Unix Makefiles' .. &&
make check
- run:
name: Unit tests (AVX)
command: >
mkdir -p 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 de57f81

Please sign in to comment.