File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -330,9 +330,10 @@ jobs:
330330 container_suffix : " -bullseye"
331331 - clang : 18
332332 std : 20
333+ cxx_flags : " -Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls"
333334 container_suffix : " -bookworm"
334335
335- name : " 🐍 3 • Clang ${{ matrix.clang }} • C++${{ matrix.std }} • x64"
336+ name : " 🐍 3 • Clang ${{ matrix.clang }} • C++${{ matrix.std }} • x64${{ matrix.cxx_flags && ' • cxx_flags' || '' }} "
336337 container : " silkeh/clang:${{ matrix.clang }}${{ matrix.container_suffix }}"
337338
338339 steps :
@@ -348,6 +349,7 @@ jobs:
348349 -DPYBIND11_WERROR=ON
349350 -DDOWNLOAD_CATCH=ON
350351 -DCMAKE_CXX_STANDARD=${{ matrix.std }}
352+ -DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}"
351353 -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
352354
353355 - name : Build
You can’t perform that action at this time.
0 commit comments