Skip to content

Commit ca144bc

Browse files
committed
add more tests
1 parent c3015c8 commit ca144bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/linux-simple.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- {cxx: clang++-9, other_pkgs: clang-9}
2323
- {cxx: clang++-10, other_pkgs: clang-10}
2424
build_type: [Debug, Release]
25-
std: [11, 14]
25+
std: [11, 14, 17, 20]
2626
#std: [11, 14, 17, 20]
2727
#exclude:
2828
# - compiler.cxx: "g++-{5,6,7,8,9,10}"
@@ -53,7 +53,7 @@ jobs:
5353
CXX: ${{matrix.compiler.cxx}}
5454
run: |
5555
cmake -B build \
56-
-DCMAKE_BUILD_TYPE=${{matrix.built_type}} \
56+
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
5757
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
5858
-DCMAKE_CXX_STANDARD_REQUIRED=ON \
5959
-DCMAKE_CXX_EXTENSIONS=OFF \
@@ -68,7 +68,7 @@ jobs:
6868

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

7373
- name: Fuzz Test
7474
working-directory: build

rapidfuzz/details/simd.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* RAPIDFUZZ_LTO_HACK is used to differentiate functions between different
77
* translation units to avoid warnings when using lto */
88
#ifndef RAPIDFUZZ_EXCLUDE_SIMD
9-
# if __AVX2__
9+
# if 0//__AVX2__
1010
# define RAPIDFUZZ_SIMD
1111
# define RAPIDFUZZ_AVX2
1212
# define RAPIDFUZZ_LTO_HACK 0

0 commit comments

Comments
 (0)