Skip to content

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Jan 18, 2025
1 parent c3015c8 commit ca144bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- {cxx: clang++-9, other_pkgs: clang-9}
- {cxx: clang++-10, other_pkgs: clang-10}
build_type: [Debug, Release]
std: [11, 14]
std: [11, 14, 17, 20]
#std: [11, 14, 17, 20]
#exclude:
# - compiler.cxx: "g++-{5,6,7,8,9,10}"
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
CXX: ${{matrix.compiler.cxx}}
run: |
cmake -B build \
-DCMAKE_BUILD_TYPE=${{matrix.built_type}} \
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
-DCMAKE_CXX_STANDARD_REQUIRED=ON \
-DCMAKE_CXX_EXTENSIONS=OFF \
Expand All @@ -68,7 +68,7 @@ jobs:

- name: Test
working-directory: build
run: ctest -C ${{matrix.BUILD_TYPE}} --rerun-failed --output-on-failure -j `nproc`
run: ctest -C ${{matrix.build_type}} --rerun-failed --output-on-failure -j `nproc`

- name: Fuzz Test
working-directory: build
Expand Down
2 changes: 1 addition & 1 deletion rapidfuzz/details/simd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* RAPIDFUZZ_LTO_HACK is used to differentiate functions between different
* translation units to avoid warnings when using lto */
#ifndef RAPIDFUZZ_EXCLUDE_SIMD
# if __AVX2__
# if 0//__AVX2__
# define RAPIDFUZZ_SIMD
# define RAPIDFUZZ_AVX2
# define RAPIDFUZZ_LTO_HACK 0
Expand Down

0 comments on commit ca144bc

Please sign in to comment.