summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-10-08 15:22:39 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:43 -0400
commit413397b91e5740f41a0d32f819efe4276f42dc09 (patch)
tree48fe9bb6b04a915bbaaa41ea0bb760fafea1ffc9
parent27661ee8a358626691a39c0ebe405b6bd8f66a2f (diff)
Turn on YJIT for repeat-count=2 runs through env var
It wasn't on at all before... Since it's a snowflake "include" matrix element, might as well test the env var with it.
-rw-r--r--.github/workflows/yjit-ubuntu.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml
index 1acd40fc4f..414fe78b5d 100644
--- a/.github/workflows/yjit-ubuntu.yml
+++ b/.github/workflows/yjit-ubuntu.yml
@@ -19,6 +19,7 @@ jobs:
- test_task: "test-all TESTS=--repeat-count=2"
os: ubuntu-20.04
configure: ""
+ yjit_enable_env: RUBY_YJIT_ENABLE
fail-fast: false
env:
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
@@ -62,6 +63,9 @@ jobs:
run: |
./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}'
if: ${{ matrix.test_task == 'check' }}
+ - name: Enable YJIT through ENV
+ run: echo "RUBY_YJIT_ENABLE=1" >> $GITHUB_ENV
+ if: ${{ matrix.yjit_enable_env }}
- run: make $JOBS -s ${{ matrix.test_task }} RUN_OPTS="$RUN_OPTS"
timeout-minutes: 60
env: