File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -360,9 +360,10 @@ jobs:
360
360
container_suffix : " -bookworm"
361
361
- clang : 18
362
362
std : 20
363
+ cxx_flags : " -Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls"
363
364
container_suffix : " -bookworm"
364
365
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' || '' }} "
366
367
container : " silkeh/clang:${{ matrix.clang }}${{ matrix.container_suffix }}"
367
368
368
369
steps :
@@ -378,6 +379,7 @@ jobs:
378
379
-DPYBIND11_WERROR=ON
379
380
-DDOWNLOAD_CATCH=ON
380
381
-DCMAKE_CXX_STANDARD=${{ matrix.std }}
382
+ -DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}"
381
383
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
382
384
383
385
- name : Build
You can’t perform that action at this time.
0 commit comments