Skip to content

Commit 1f602ea

Browse files
authored
ci: ignore warnings with on macOS-13 (#83)
ci: override -Werror on macos-13. The setup with AppleClang 15.0.0 and, e.g., boost 1.89 causes lots of warnings in dependencies. Since we can't fix published versions of dependencies, we have to turn off -Werror for this setting.
1 parent e950d07 commit 1f602ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,16 @@ jobs:
309309
TEST_XTENSOR=Off
310310
fi
311311
312+
if (( ${{ matrix.os }} == "macOS-13" ))
313+
then
314+
HAS_WERROR=Off
315+
else
316+
HAS_WERROR=On
317+
fi
318+
312319
CMAKE_OPTIONS=(
313320
-GNinja
321+
-DHIGHFIVE_HAS_WERROR:BOOL=${HAS_WERROR}
314322
-DHIGHFIVE_TEST_BOOST:BOOL=ON
315323
-DHIGHFIVE_TEST_EIGEN:BOOL=ON
316324
-DHIGHFIVE_TEST_XTENSOR:BOOL=${TEST_XTENSOR}

0 commit comments

Comments
 (0)