File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -360,9 +360,10 @@ jobs:
360360 container_suffix : " -bookworm"
361361 - clang : 18
362362 std : 20
363+ cxx_flags : " -Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls"
363364 container_suffix : " -bookworm"
364365
365- name : " 🐍 3 • Clang ${{ matrix.clang }} • C++${{ matrix.std }} • x64"
366+ name : " 🐍 3 • Clang ${{ matrix.clang }} • C++${{ matrix.std }} • x64${{ matrix.cxx_flags && ' • cxx_flags' || '' }} "
366367 container : " silkeh/clang:${{ matrix.clang }}${{ matrix.container_suffix }}"
367368
368369 steps :
@@ -378,6 +379,7 @@ jobs:
378379 -DPYBIND11_WERROR=ON
379380 -DDOWNLOAD_CATCH=ON
380381 -DCMAKE_CXX_STANDARD=${{ matrix.std }}
382+ -DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}"
381383 -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
382384
383385 - name : Build
You can’t perform that action at this time.
0 commit comments