ZJIT: run zjit-test-all on CI with seed (#13912)

ZJIT: run zjit-test-all on CI with seed

ZJIT is still unstable and can crash intermittently running with Ruby
tests. Adding a seed to avoid flakiness while we work on stability.
This commit is contained in:
Stan Lo 2025-07-16 19:16:29 +01:00 committed by GitHub
parent 133cf95618
commit 643ca8175c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -40,6 +40,7 @@ jobs:
- test_task: 'zjit-test-all'
configure: '--enable-zjit=dev'
testopts: '--seed=11831'
- test_task: 'btest'
configure: '--enable-zjit=dev'
@ -48,6 +49,7 @@ jobs:
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
RUN_OPTS: ${{ matrix.zjit_opts }}
SPECOPTS: ${{ matrix.specopts }}
TESTOPTS: ${{ matrix.testopts }}
runs-on: macos-14
@ -146,6 +148,7 @@ jobs:
make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
RUN_OPTS="$RUN_OPTS"
SPECOPTS="$SPECOPTS"
TESTOPTS="$TESTOPTS"
timeout-minutes: 60
env:
RUBY_TESTOPTS: '-q --tty=no'

View file

@ -42,6 +42,7 @@ jobs:
- test_task: 'zjit-test-all'
configure: '--enable-zjit=dev'
testopts: '--seed=11831'
- test_task: 'btest'
configure: '--enable-zjit=dev'
@ -51,6 +52,7 @@ jobs:
RUN_OPTS: ${{ matrix.zjit_opts }}
YJIT_BENCH_OPTS: ${{ matrix.yjit_bench_opts }}
SPECOPTS: ${{ matrix.specopts }}
TESTOPTS: ${{ matrix.testopts }}
RUBY_DEBUG: ci
BUNDLE_JOBS: 8 # for yjit-bench
RUST_BACKTRACE: 1
@ -167,6 +169,7 @@ jobs:
run: >-
make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
RUN_OPTS="$RUN_OPTS" MSPECOPT=--debug SPECOPTS="$SPECOPTS"
TESTOPTS="$TESTOPTS"
ZJIT_BINDGEN_DIFF_OPTS="$ZJIT_BINDGEN_DIFF_OPTS"
timeout-minutes: 90
env: