[前][次][番号順一覧][スレッド一覧]

ruby-changes:69253

From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:24:22 +0900 (JST)
Subject: [ruby-changes:69253] 5d2e5218f6 (master): Use env var to turn on YJIT for test-bundled-gems

https://git.ruby-lang.org/ruby.git/commit/?id=5d2e5218f6

From 5d2e5218f643917e3add702e48ebe48ce7cb80ba Mon Sep 17 00:00:00 2001
From: Alan Wu <XrXr@u...>
Date: Fri, 8 Oct 2021 16:50:13 -0400
Subject: Use env var to turn on YJIT for test-bundled-gems

tool/test-bundled-gems.rb use sub processes for testing bundled gems and
doesn't support RUN_OPTS. We weren't enabling YJIT for these tests.
Use an include config with RUBY_YJIT_ENABLE to turn on YJIT for these
tests.

Note that we only test with the default call threshold in this setup,
which is the same as before YJIT was off by defauft. The
--yjit-call-threshold command line was never passed to the tests.
---
 .github/workflows/yjit-ubuntu.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml
index 68cdbf2660..2507b02769 100644
--- a/.github/workflows/yjit-ubuntu.yml
+++ b/.github/workflows/yjit-ubuntu.yml
@@ -4,7 +4,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/yjit-ubuntu.yml#L4
   make:
     strategy:
       matrix:
-        test_task: ["check", "test-bundled-gems"] # "test-bundler-parallel",
+        test_task: ["check"] # "test-bundler-parallel",
         os:
           - ubuntu-20.04
 #         - ubuntu-18.04
@@ -20,6 +20,10 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/yjit-ubuntu.yml#L20
             os: ubuntu-20.04
             configure: ""
             yjit_enable_env: RUBY_YJIT_ENABLE
+          - test_task: "test-bundled-gems"
+            os: ubuntu-20.04
+            configure: "cppflags=-DRUBY_DEBUG"
+            yjit_enable_env: RUBY_YJIT_ENABLE
       fail-fast: false
     env:
       GITPULLOPTIONS: --no-tags origin ${{github.ref}}
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]