Skip to content

Commit 64e4a90

Browse files
committed
fix(ci): suppress sign-conversion warnings on macOS
Apple Clang with -Werror treats RapidCheck library's sign-conversion warnings as errors. Suppress these warnings on macOS since they come from third-party dependencies, not our code.
1 parent cd2ad58 commit 64e4a90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
cmake -B build \
8585
-G Ninja \
8686
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
87-
-DCMAKE_CXX_FLAGS="-march=native"
87+
-DCMAKE_CXX_FLAGS="${{ matrix.os == 'macos-latest' && '-march=native -Wno-sign-conversion' || '-march=native' }}"
8888
8989
- name: Build
9090
run: cmake --build build --config ${{ env.BUILD_TYPE }}

0 commit comments

Comments
 (0)