ci: limit cmake build to 2 parallel jobs.

This commit is contained in:
Corentin Le Molgat
2023-10-16 17:07:05 +02:00
parent fef3287129
commit 57ec0e6561
17 changed files with 50 additions and 50 deletions

View File

@@ -74,10 +74,10 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -54,18 +54,18 @@ jobs:
cmake --build build
--config Release
--target all
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config Release
--target test
-v -j
-v
- name: Install
run: >
cmake --build build
--config Release
--target install
-v -j
-v
-- DESTDIR=install

View File

@@ -36,17 +36,17 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target all
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config ${{ matrix.cmake.config }}
--target test
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target install
-v -j
-v

View File

@@ -34,18 +34,18 @@ jobs:
cmake --build build
--config Release
--target all
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config Release
--target test
-v -j
-v
- name: Install
run: >
cmake --build build
--config Release
--target install
-v -j
-v
-- DESTDIR=install

View File

@@ -24,18 +24,18 @@ jobs:
cmake --build build
--config Release
--target all
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config Release
--target test
-v -j
-v
- name: Install
run: >
cmake --build build
--config Release
--target install
-v -j
-v
-- DESTDIR=install

View File

@@ -30,17 +30,17 @@ jobs:
cmake --build build
--config Release
--target all
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config Release
--target test
-v -j
-v
- name: Install
run: >
cmake --build build
--config Release
--target install
-v -j
-v

View File

@@ -23,18 +23,18 @@ jobs:
cmake --build build
--config Release
--target all
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config Release
--target test
-v -j
-v
- name: Install
run: >
cmake --build build
--config Release
--target install
-v -j
-v
-- DESTDIR=install

View File

@@ -53,17 +53,17 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -54,18 +54,18 @@ jobs:
cmake --build build
--config Release
--target all
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config Release
--target test
-v -j
-v
- name: Install
run: >
cmake --build build
--config Release
--target install
-v -j
-v
-- DESTDIR=install

View File

@@ -31,17 +31,17 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -42,17 +42,17 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -38,17 +38,17 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -48,17 +48,17 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -32,17 +32,17 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -43,16 +43,16 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -39,16 +39,16 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v

View File

@@ -52,16 +52,16 @@ jobs:
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j
-v -j2
- name: Test
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v -j
-v
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v -j
-v