Skip to content

Commit 3c2bd26

Browse files
committed
Use nproc for make in CI
Github CI actually has 4 cores, this should be faster
1 parent 158b77c commit 3c2bd26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cruby-bindings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
ruby tool/downloader.rb -d tool -e gnu config.guess config.sub
4141
autoconf
4242
./configure -C --disable-install-doc
43-
make -j2
43+
make -j$(nproc)
4444
working-directory: ruby/ruby
4545
- name: make test-all
46-
run: make -j2 -s test-all
46+
run: make -j$(nproc) -s test-all
4747
working-directory: ruby/ruby

0 commit comments

Comments
 (0)