Skip to content

Commit 2133176

Browse files
ci
1 parent a1a64ad commit 2133176

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/sanitizer.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ defaults:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
name: 'sanitizer - ${{ matrix.sanitizer }}'
12+
name: 'sanitizer - ${{ matrix.sanitizer }} ${{ matrix.flags }}'
1313
strategy:
1414
matrix:
1515
sanitizer:
1616
- address
1717
- undefined
18+
flags:
19+
- "-fno-fast-math"
20+
- "-ffast-math"
1821
steps:
1922
- name: Checkout xsimd
2023
uses: actions/checkout@v3
@@ -28,7 +31,7 @@ jobs:
2831
-DDOWNLOAD_DOCTEST=ON \
2932
-DCMAKE_BUILD_TYPE=Release \
3033
-DCMAKE_CXX_COMPILER=clang++ \
31-
-DCMAKE_CXX_FLAGS='-fsanitize=${{ matrix.sanitizer }}' \
34+
-DCMAKE_CXX_FLAGS='-fsanitize=${{ matrix.sanitizer }} ${{ matrix.flags }}' \
3235
-G Ninja
3336
- name: Build
3437
run: ninja -C _build

0 commit comments

Comments
 (0)