Skip to content

Commit e265b82

Browse files
committed
all cmake build: -j 1
1 parent ee5c9ae commit e265b82

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ jobs:
106106
${{ matrix.args }}
107107
108108
- name: Build C++11
109-
run: cmake --build . -j 2
109+
run: cmake --build . -j 1
110110

111111
- name: Python tests C++11
112112
run: python tools/repeat_command.py 0 cmake --build . --target pytest -j 2
113113

114114
- name: C++11 tests
115115
# TODO: Figure out how to load the DLL on Python 3.8+
116116
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 . --target cpptest -j 1
118118

119119
- name: Interface test C++11
120120
run: cmake --build . --target test_cmake_build
@@ -134,7 +134,7 @@ jobs:
134134
${{ matrix.args2 }}
135135
136136
- name: Build
137-
run: cmake --build build2 -j 2
137+
run: cmake --build build2 -j 1
138138

139139
- name: Python tests
140140
run: python tools/repeat_command.py 0 cmake --build build2 --target pytest
@@ -234,7 +234,7 @@ jobs:
234234
-DCMAKE_CXX_STANDARD=17
235235
236236
- name: Build
237-
run: cmake --build build -j 2
237+
run: cmake --build build -j 1
238238

239239
- name: Python tests
240240
run: python tools/repeat_command.py 0 cmake --build build --target pytest
@@ -289,7 +289,7 @@ jobs:
289289
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
290290
291291
- name: Build
292-
run: cmake --build build -j 2
292+
run: cmake --build build -j 1
293293

294294
- name: Python tests
295295
run: python3 tools/repeat_command.py 0 cmake --build build --target pytest
@@ -356,7 +356,7 @@ jobs:
356356
# cmake -S . -B build -DDOWNLOAD_CATCH=ON -DCMAKE_CXX_STANDARD=14 -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
357357
#
358358
# - name: Build
359-
# run: cmake --build build -j 2 --verbose
359+
# run: cmake --build build -j 1 --verbose
360360
#
361361
# - name: Python tests
362362
# run: python3 tools/repeat_command.py 0 cmake --build build --target pytest
@@ -400,7 +400,7 @@ jobs:
400400
401401
# Building before installing Pip should produce a warning but not an error
402402
- name: Build
403-
run: cmake3 --build build -j 2 --verbose
403+
run: cmake3 --build build -j 1 --verbose
404404

405405
- name: Install CMake with pip
406406
run: |
@@ -457,7 +457,7 @@ jobs:
457457
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
458458
459459
- name: Build
460-
run: cmake --build build -j 2
460+
run: cmake --build build -j 1
461461

462462
- name: Python tests
463463
run: python3 tools/repeat_command.py 0 cmake --build build --target pytest
@@ -614,7 +614,7 @@ jobs:
614614
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
615615
616616
- name: Build
617-
run: cmake --build build -j 2
617+
run: cmake --build build -j 1
618618

619619
- name: Python tests
620620
run: python3 tools/repeat_command.py 0 cmake --build build --target pytest
@@ -761,7 +761,7 @@ jobs:
761761
-DDOWNLOAD_EIGEN=ON
762762
${{ matrix.args }}
763763
- name: Build C++11
764-
run: cmake --build build -j 2
764+
run: cmake --build build -j 1
765765

766766
- name: Run tests
767767
run: python3 tools/repeat_command.py 0 cmake --build build -t pytest
@@ -807,7 +807,7 @@ jobs:
807807
-DDOWNLOAD_EIGEN=ON
808808
809809
- name: Build C++14
810-
run: cmake --build build -j 2
810+
run: cmake --build build -j 1
811811

812812
- name: Run all checks
813813
run: cmake --build build -t check
@@ -858,7 +858,7 @@ jobs:
858858
${{ matrix.args }}
859859
860860
- name: Build ${{ matrix.std }}
861-
run: cmake --build build -j 2
861+
run: cmake --build build -j 1
862862

863863
- name: Run all checks
864864
run: cmake --build build -t check

0 commit comments

Comments
 (0)