File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -493,9 +493,9 @@ jobs:
493493 - { gcc: 9, std: 20 }
494494 - { gcc: 10, std: 17 }
495495 - { gcc: 10, std: 20 }
496- - { gcc: 13, std: 20 }
496+ - { gcc: 13, std: 20, cxx_flags: "-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls" }
497497
498- name : " 🐍 3 • GCC ${{ matrix.gcc }} • C++${{ matrix.std }}• x64"
498+ name : " 🐍 3 • GCC ${{ matrix.gcc }} • C++${{ matrix.std }} • x64${{ matrix.cxx_flags && ' • cxx_flags' || '' }} "
499499 container : " gcc:${{ matrix.gcc }}"
500500
501501 steps :
@@ -517,6 +517,7 @@ jobs:
517517 -DPYBIND11_WERROR=ON
518518 -DDOWNLOAD_CATCH=ON
519519 -DCMAKE_CXX_STANDARD=${{ matrix.std }}
520+ -DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}"
520521 -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
521522
522523 - name : Build
You can’t perform that action at this time.
0 commit comments