Skip to content

Commit d922683

Browse files
committed
Merge pull request #2658 from ruby/re2c-compile
Add -j option to make
1 parent 1630f80 commit d922683

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/c-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
sudo apt-get install -y clang-format-20
2929
sudo ln -sf /usr/bin/clang-format-20 /usr/local/bin/clang-format
3030
clang-format --version
31+
- name: Count processors
32+
run: nproc
3133
- name: Install Re2c
3234
run: |
3335
cd /tmp
@@ -36,7 +38,7 @@ jobs:
3638
cd re2c-4.3
3739
autoreconf -i -W all
3840
./configure
39-
make
41+
make -j"$(nproc)" -l"$(nproc)"
4042
sudo make install
4143
- name: Update rubygems & bundler
4244
run: |

0 commit comments

Comments
 (0)