From 158b77c692a11dc181cbc3bb4eba8ed2ed217859 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Thu, 16 Oct 2025 17:37:53 +0200 Subject: [PATCH 1/2] Test against everything from CRuby It doesn't take that much longer. If a change in prism breaks CRuby tests, the PR should be made in ruby/ruby instead. --- .github/workflows/cruby-bindings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cruby-bindings.yml b/.github/workflows/cruby-bindings.yml index 1312293c32..317a06f878 100644 --- a/.github/workflows/cruby-bindings.yml +++ b/.github/workflows/cruby-bindings.yml @@ -43,5 +43,5 @@ jobs: make -j2 working-directory: ruby/ruby - name: make test-all - run: make -j2 -s test-all TESTS="prism ruby/test_syntax.rb ruby/test_compile_prism.rb --no-retry" + run: make -j2 -s test-all working-directory: ruby/ruby From 3c2bd26f1ed0888e315066f792023b68056abf6e Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Thu, 16 Oct 2025 17:56:33 +0200 Subject: [PATCH 2/2] Use `nproc` for make in CI Github CI actually has 4 cores, this should be faster --- .github/workflows/cruby-bindings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cruby-bindings.yml b/.github/workflows/cruby-bindings.yml index 317a06f878..a13a691b99 100644 --- a/.github/workflows/cruby-bindings.yml +++ b/.github/workflows/cruby-bindings.yml @@ -40,8 +40,8 @@ jobs: ruby tool/downloader.rb -d tool -e gnu config.guess config.sub autoconf ./configure -C --disable-install-doc - make -j2 + make -j$(nproc) working-directory: ruby/ruby - name: make test-all - run: make -j2 -s test-all + run: make -j$(nproc) -s test-all working-directory: ruby/ruby