@@ -106,18 +106,18 @@ jobs:
106
106
${{ matrix.args }}
107
107
108
108
- name : Build C++11
109
- run : cmake --build . -j 2
109
+ run : cmake --build . --verbose - j 2
110
110
111
111
- name : Python tests C++11
112
- run : cmake --build . --target pytest -j 2
112
+ run : cmake --build . --target pytest
113
113
114
114
- name : C++11 tests
115
115
# TODO: Figure out how to load the DLL on Python 3.8+
116
116
if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10-dev'))"
117
- run : cmake --build . --target cpptest -j 2
117
+ run : cmake --build . --verbose -- target cpptest -j 2
118
118
119
119
- name : Interface test C++11
120
- run : cmake --build . --target test_cmake_build
120
+ run : cmake --build . --verbose -- target test_cmake_build
121
121
122
122
- name : Clean directory
123
123
run : git clean -fdx
@@ -134,18 +134,18 @@ jobs:
134
134
${{ matrix.args2 }}
135
135
136
136
- name : Build
137
- run : cmake --build build2 -j 2
137
+ run : cmake --build build2 --verbose - j 2
138
138
139
139
- name : Python tests
140
140
run : cmake --build build2 --target pytest
141
141
142
142
- name : C++ tests
143
143
# TODO: Figure out how to load the DLL on Python 3.8+
144
144
if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10-dev'))"
145
- run : cmake --build build2 --target cpptest
145
+ run : cmake --build build2 --verbose -- target cpptest
146
146
147
147
- name : Interface test
148
- run : cmake --build build2 --target test_cmake_build
148
+ run : cmake --build build2 --verbose -- target test_cmake_build
149
149
150
150
# Eventually Microsoft might have an action for setting up
151
151
# MSVC, but for now, this action works:
@@ -234,17 +234,17 @@ jobs:
234
234
-DCMAKE_CXX_STANDARD=17
235
235
236
236
- name : Build
237
- run : cmake --build build -j 2
237
+ run : cmake --build build --verbose - j 2
238
238
239
239
- name : Python tests
240
240
run : cmake --build build --target pytest
241
241
242
242
- name : C++ tests
243
- run : cmake --build build --target cpptest
243
+ run : cmake --build build --verbose -- target cpptest
244
244
245
245
- name : Run Valgrind on Python tests
246
246
if : matrix.valgrind
247
- run : cmake --build build --target memcheck
247
+ run : cmake --build build --verbose -- target memcheck
248
248
249
249
250
250
# Testing on clang using the excellent silkeh clang docker images
@@ -318,7 +318,7 @@ jobs:
318
318
run : cmake -S . -B build -DPYBIND11_CUDA_TESTS=ON -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON
319
319
320
320
- name : Build
321
- run : cmake --build build -j2 -- verbose
321
+ run : cmake --build build -- verbose -j2
322
322
323
323
- name : Python tests
324
324
run : cmake --build build --target pytest
@@ -400,7 +400,7 @@ jobs:
400
400
401
401
# Building before installing Pip should produce a warning but not an error
402
402
- name : Build
403
- run : cmake3 --build build -j 2 --verbose
403
+ run : cmake3 --build build -j 2
404
404
405
405
- name : Install CMake with pip
406
406
run : |
@@ -457,16 +457,16 @@ jobs:
457
457
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
458
458
459
459
- name : Build
460
- run : cmake --build build -j 2
460
+ run : cmake --build build --verbose - j 2
461
461
462
462
- name : Python tests
463
463
run : cmake --build build --target pytest
464
464
465
465
- name : C++ tests
466
- run : cmake --build build --target cpptest
466
+ run : cmake --build build --verbose -- target cpptest
467
467
468
468
- name : Interface test
469
- run : cmake --build build --target test_cmake_build
469
+ run : cmake --build build --verbose -- target test_cmake_build
470
470
471
471
472
472
# Testing on ICC using the oneAPI apt repo
@@ -515,23 +515,23 @@ jobs:
515
515
- name : Build C++11
516
516
run : |
517
517
set +e; source /opt/intel/oneapi/setvars.sh; set -e
518
- cmake --build build-11 -j 2 -v
518
+ cmake --build build-11 --verbose - j 2
519
519
520
520
- name : Python tests C++11
521
521
run : |
522
522
set +e; source /opt/intel/oneapi/setvars.sh; set -e
523
523
sudo service apport stop
524
- cmake --build build-11 --target check
524
+ cmake --build build-11 --target pytest
525
525
526
526
- name : C++ tests C++11
527
527
run : |
528
528
set +e; source /opt/intel/oneapi/setvars.sh; set -e
529
- cmake --build build-11 --target cpptest
529
+ cmake --build build-11 --verbose -- target cpptest
530
530
531
531
- name : Interface test C++11
532
532
run : |
533
533
set +e; source /opt/intel/oneapi/setvars.sh; set -e
534
- cmake --build build-11 --target test_cmake_build
534
+ cmake --build build-11 --verbose -- target test_cmake_build
535
535
536
536
- name : Configure C++17
537
537
run : |
@@ -547,23 +547,23 @@ jobs:
547
547
- name : Build C++17
548
548
run : |
549
549
set +e; source /opt/intel/oneapi/setvars.sh; set -e
550
- cmake --build build-17 -j 2 -v
550
+ cmake --build build-17 --verbose - j 2
551
551
552
552
- name : Python tests C++17
553
553
run : |
554
554
set +e; source /opt/intel/oneapi/setvars.sh; set -e
555
555
sudo service apport stop
556
- cmake --build build-17 --target check
556
+ cmake --build build-17 --target pytest
557
557
558
558
- name : C++ tests C++17
559
559
run : |
560
560
set +e; source /opt/intel/oneapi/setvars.sh; set -e
561
- cmake --build build-17 --target cpptest
561
+ cmake --build build-17 --verbose -- target cpptest
562
562
563
563
- name : Interface test C++17
564
564
run : |
565
565
set +e; source /opt/intel/oneapi/setvars.sh; set -e
566
- cmake --build build-17 --target test_cmake_build
566
+ cmake --build build-17 --verbose -- target test_cmake_build
567
567
568
568
569
569
# Testing on CentOS (manylinux uses a centos base, and this is an easy way
@@ -614,16 +614,16 @@ jobs:
614
614
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
615
615
616
616
- name : Build
617
- run : cmake --build build -j 2
617
+ run : cmake --build build --verbose - j 2
618
618
619
619
- name : Python tests
620
620
run : cmake --build build --target pytest
621
621
622
622
- name : C++ tests
623
- run : cmake --build build --target cpptest
623
+ run : cmake --build build --verbose -- target cpptest
624
624
625
625
- name : Interface test
626
- run : cmake --build build --target test_cmake_build
626
+ run : cmake --build build --verbose -- target test_cmake_build
627
627
628
628
629
629
# This tests an "install" with the CMake tools
@@ -758,7 +758,7 @@ jobs:
758
758
-DDOWNLOAD_EIGEN=ON
759
759
${{ matrix.args }}
760
760
- name : Build C++11
761
- run : cmake --build build -j 2
761
+ run : cmake --build build --verbose - j 2
762
762
763
763
- name : Python tests
764
764
run : cmake --build build -t pytest
@@ -804,10 +804,10 @@ jobs:
804
804
-DDOWNLOAD_EIGEN=ON
805
805
806
806
- name : Build C++14
807
- run : cmake --build build -j 2
807
+ run : cmake --build build --verbose - j 2
808
808
809
809
- name : Run all checks
810
- run : cmake --build build -t check
810
+ run : cmake --build build --target pytest
811
811
812
812
813
813
win32-msvc2017 :
@@ -855,10 +855,10 @@ jobs:
855
855
${{ matrix.args }}
856
856
857
857
- name : Build ${{ matrix.std }}
858
- run : cmake --build build -j 2
858
+ run : cmake --build build --verbose - j 2
859
859
860
860
- name : Run all checks
861
- run : cmake --build build -t check
861
+ run : cmake --build build --target pytest
862
862
863
863
mingw :
864
864
runs-on : windows-latest
@@ -886,7 +886,7 @@ jobs:
886
886
run : cmake -G "MinGW Makefiles" -S . -B build
887
887
888
888
- name : Build
889
- run : cmake --build build -j 2
889
+ run : cmake --build build --verbose - j 2
890
890
891
891
- name : Python tests
892
892
run : cmake --build build --target pytest
0 commit comments