@@ -106,18 +106,18 @@ jobs:
106
106
${{ matrix.args }}
107
107
108
108
- name : Build C++11
109
- run : cmake --build . -j 2 -- --keep-going
109
+ run : cmake --build . -j 2
110
110
111
111
- name : Python tests C++11
112
112
run : cmake --build . --target pytest -j 2
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 -- --keep-going
117
+ run : cmake --build . --target cpptest -j 2
118
118
119
119
- name : Interface test C++11
120
- run : cmake --build . --target test_cmake_build -- --keep-going
120
+ run : cmake --build . --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 -- --keep-going
137
+ run : cmake --build build2 -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 -- --keep-going
145
+ run : cmake --build build2 --target cpptest
146
146
147
147
- name : Interface test
148
- run : cmake --build build2 --target test_cmake_build -- --keep-going
148
+ run : cmake --build build2 --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,13 +234,13 @@ jobs:
234
234
-DCMAKE_CXX_STANDARD=17
235
235
236
236
- name : Build
237
- run : cmake --build build -j 2 -- --keep-going
237
+ run : cmake --build build -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 -- --keep-going
243
+ run : cmake --build build --target cpptest
244
244
245
245
- name : Run Valgrind on Python tests
246
246
if : matrix.valgrind
@@ -289,16 +289,16 @@ jobs:
289
289
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
290
290
291
291
- name : Build
292
- run : cmake --build build -j 2 -- --keep-going
292
+ run : cmake --build build -j 2
293
293
294
294
- name : Python tests
295
295
run : cmake --build build --target pytest
296
296
297
297
- name : C++ tests
298
- run : cmake --build build --target cpptest -- --keep-going
298
+ run : cmake --build build --target cpptest
299
299
300
300
- name : Interface test
301
- run : cmake --build build --target test_cmake_build -- --keep-going
301
+ run : cmake --build build --target test_cmake_build
302
302
303
303
304
304
# Testing NVCC; forces sources to behave like .cu files
@@ -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 -- --keep-going
321
+ run : cmake --build build -j2 --verbose
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 -- --keep-going
403
+ run : cmake3 --build build -j 2 --verbose
404
404
405
405
- name : Install CMake with pip
406
406
run : |
@@ -411,10 +411,10 @@ jobs:
411
411
run : cmake3 --build build --target pytest
412
412
413
413
- name : C++ tests
414
- run : cmake3 --build build --target cpptest -- --keep-going
414
+ run : cmake3 --build build --target cpptest
415
415
416
416
- name : Interface test
417
- run : cmake3 --build build --target test_cmake_build -- --keep-going
417
+ run : cmake3 --build build --target test_cmake_build
418
418
419
419
420
420
# Testing on GCC using the GCC docker images (only recent images supported)
@@ -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 -- --keep-going
460
+ run : cmake --build build -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 -- --keep-going
466
+ run : cmake --build build --target cpptest
467
467
468
468
- name : Interface test
469
- run : cmake --build build --target test_cmake_build -- --keep-going
469
+ run : cmake --build build --target test_cmake_build
470
470
471
471
472
472
# Testing on ICC using the oneAPI apt repo
@@ -515,7 +515,7 @@ 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 -- --keep-going
518
+ cmake --build build-11 -j 2 -v
519
519
520
520
- name : Python tests C++11
521
521
run : |
@@ -526,12 +526,12 @@ jobs:
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 -- --keep-going
529
+ cmake --build build-11 --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 -- --keep-going
534
+ cmake --build build-11 --target test_cmake_build
535
535
536
536
- name : Configure C++17
537
537
run : |
@@ -547,7 +547,7 @@ 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 -- --keep-going
550
+ cmake --build build-17 -j 2 -v
551
551
552
552
- name : Python tests C++17
553
553
run : |
@@ -558,12 +558,12 @@ jobs:
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 -- --keep-going
561
+ cmake --build build-17 --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 -- --keep-going
566
+ cmake --build build-17 --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 -- --keep-going
617
+ run : cmake --build build -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 -- --keep-going
623
+ run : cmake --build build --target cpptest
624
624
625
625
- name : Interface test
626
- run : cmake --build build --target test_cmake_build -- --keep-going
626
+ run : cmake --build build --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 -- --keep-going
761
+ run : cmake --build build -j 2
762
762
763
763
- name : Run tests
764
764
run : cmake --build build -t pytest
@@ -804,7 +804,7 @@ jobs:
804
804
-DDOWNLOAD_EIGEN=ON
805
805
806
806
- name : Build C++14
807
- run : cmake --build build -j 2 -- --keep-going
807
+ run : cmake --build build -j 2
808
808
809
809
- name : Run all checks
810
810
run : cmake --build build -t check
@@ -855,7 +855,7 @@ jobs:
855
855
${{ matrix.args }}
856
856
857
857
- name : Build ${{ matrix.std }}
858
- run : cmake --build build -j 2 -- --keep-going
858
+ run : cmake --build build -j 2
859
859
860
860
- name : Run all checks
861
861
run : cmake --build build -t check
0 commit comments