mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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:
parent
133cf95618
commit
643ca8175c
2 changed files with 6 additions and 0 deletions
3
.github/workflows/zjit-macos.yml
vendored
3
.github/workflows/zjit-macos.yml
vendored
|
@ -40,6 +40,7 @@ jobs:
|
||||||
|
|
||||||
- test_task: 'zjit-test-all'
|
- test_task: 'zjit-test-all'
|
||||||
configure: '--enable-zjit=dev'
|
configure: '--enable-zjit=dev'
|
||||||
|
testopts: '--seed=11831'
|
||||||
|
|
||||||
- test_task: 'btest'
|
- test_task: 'btest'
|
||||||
configure: '--enable-zjit=dev'
|
configure: '--enable-zjit=dev'
|
||||||
|
@ -48,6 +49,7 @@ jobs:
|
||||||
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
|
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
|
||||||
RUN_OPTS: ${{ matrix.zjit_opts }}
|
RUN_OPTS: ${{ matrix.zjit_opts }}
|
||||||
SPECOPTS: ${{ matrix.specopts }}
|
SPECOPTS: ${{ matrix.specopts }}
|
||||||
|
TESTOPTS: ${{ matrix.testopts }}
|
||||||
|
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
|
|
||||||
|
@ -146,6 +148,7 @@ jobs:
|
||||||
make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
|
make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
|
||||||
RUN_OPTS="$RUN_OPTS"
|
RUN_OPTS="$RUN_OPTS"
|
||||||
SPECOPTS="$SPECOPTS"
|
SPECOPTS="$SPECOPTS"
|
||||||
|
TESTOPTS="$TESTOPTS"
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
env:
|
env:
|
||||||
RUBY_TESTOPTS: '-q --tty=no'
|
RUBY_TESTOPTS: '-q --tty=no'
|
||||||
|
|
3
.github/workflows/zjit-ubuntu.yml
vendored
3
.github/workflows/zjit-ubuntu.yml
vendored
|
@ -42,6 +42,7 @@ jobs:
|
||||||
|
|
||||||
- test_task: 'zjit-test-all'
|
- test_task: 'zjit-test-all'
|
||||||
configure: '--enable-zjit=dev'
|
configure: '--enable-zjit=dev'
|
||||||
|
testopts: '--seed=11831'
|
||||||
|
|
||||||
- test_task: 'btest'
|
- test_task: 'btest'
|
||||||
configure: '--enable-zjit=dev'
|
configure: '--enable-zjit=dev'
|
||||||
|
@ -51,6 +52,7 @@ jobs:
|
||||||
RUN_OPTS: ${{ matrix.zjit_opts }}
|
RUN_OPTS: ${{ matrix.zjit_opts }}
|
||||||
YJIT_BENCH_OPTS: ${{ matrix.yjit_bench_opts }}
|
YJIT_BENCH_OPTS: ${{ matrix.yjit_bench_opts }}
|
||||||
SPECOPTS: ${{ matrix.specopts }}
|
SPECOPTS: ${{ matrix.specopts }}
|
||||||
|
TESTOPTS: ${{ matrix.testopts }}
|
||||||
RUBY_DEBUG: ci
|
RUBY_DEBUG: ci
|
||||||
BUNDLE_JOBS: 8 # for yjit-bench
|
BUNDLE_JOBS: 8 # for yjit-bench
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
@ -167,6 +169,7 @@ jobs:
|
||||||
run: >-
|
run: >-
|
||||||
make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
|
make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
|
||||||
RUN_OPTS="$RUN_OPTS" MSPECOPT=--debug SPECOPTS="$SPECOPTS"
|
RUN_OPTS="$RUN_OPTS" MSPECOPT=--debug SPECOPTS="$SPECOPTS"
|
||||||
|
TESTOPTS="$TESTOPTS"
|
||||||
ZJIT_BINDGEN_DIFF_OPTS="$ZJIT_BINDGEN_DIFF_OPTS"
|
ZJIT_BINDGEN_DIFF_OPTS="$ZJIT_BINDGEN_DIFF_OPTS"
|
||||||
timeout-minutes: 90
|
timeout-minutes: 90
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue