Skip to content

Commit dd9655d

Browse files
try 4 parallel
1 parent be0d3dd commit dd9655d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci-cd-multi-platforms.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
generator: "Unix Makefiles",
6363
cc: "gcc",
6464
cxx: "g++",
65+
jobs_count: 4,
6566
initial_cache: ".github/workflows/linux_initial_cache.txt",
6667
}
6768
- {
@@ -119,7 +120,7 @@ jobs:
119120
120121
- name: Build
121122
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
122-
run: cmake --build build --config Release --parallel
123+
run: cmake --build build --config Release --parallel "${{ matrix.config.jobs_count }}"
123124

124125
- name: Test
125126
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).

0 commit comments

Comments
 (0)