mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
YJIT: Set RUST_BACKTRACE=1 in every Cirrus script (#6526)
* YJIT: Set RUST_BACKTRACE=1 in every Cirrus script * YJIT: Print $CIRRUS_ENV correctly It looks like $CIRRUS_ENV is cleaned up at every script.
This commit is contained in:
parent
107531583c
commit
166140aa28
Notes:
git
2022-10-13 04:51:21 +09:00
Merged-By: maximecb <maximecb@ruby-lang.org>
1 changed files with 8 additions and 9 deletions
17
.cirrus.yml
17
.cirrus.yml
|
@ -39,9 +39,8 @@ task:
|
|||
# the `make` environment variable used in compilers.yml causes some rubygems
|
||||
# tests to fail.
|
||||
# https://github.com/rubygems/rubygems/issues/4921
|
||||
- echo "GNUMAKEFLAGS=-s -j$((1 + $CIRRUS_CPU))" >> $CIRRUS_ENV
|
||||
print_env_script:
|
||||
- echo "GNUMAKEFLAGS=$GNUMAKEFLAGS"
|
||||
- echo "GNUMAKEFLAGS=-s -j$((1 + $CIRRUS_CPU))" >> "$CIRRUS_ENV"
|
||||
- cat "$CIRRUS_ENV"
|
||||
# Arm containers are executed in AWS's EKS, and it's not yet supporting IPv6
|
||||
# See https://github.com/aws/containers-roadmap/issues/835
|
||||
disable_ipv6_script: sudo ./tool/disable_ipv6.sh
|
||||
|
@ -99,9 +98,9 @@ yjit_task:
|
|||
# the `make` environment variable used in compilers.yml causes some rubygems
|
||||
# tests to fail.
|
||||
# https://github.com/rubygems/rubygems/issues/4921
|
||||
- echo "GNUMAKEFLAGS=-s -j$((1 + $CIRRUS_CPU))" >> $CIRRUS_ENV
|
||||
print_env_script:
|
||||
- echo "GNUMAKEFLAGS=$GNUMAKEFLAGS"
|
||||
- echo "GNUMAKEFLAGS=-s -j$((1 + $CIRRUS_CPU))" >> "$CIRRUS_ENV"
|
||||
- echo RUST_BACKTRACE=1 >> "$CIRRUS_ENV"
|
||||
- cat "$CIRRUS_ENV"
|
||||
# Arm containers are executed in AWS's EKS, and it's not yet supporting IPv6
|
||||
# See https://github.com/aws/containers-roadmap/issues/835
|
||||
disable_ipv6_script: sudo ./tool/disable_ipv6.sh
|
||||
|
@ -124,9 +123,9 @@ yjit_task:
|
|||
else
|
||||
echo "only running bindgen on clang image"
|
||||
fi
|
||||
boot_miniruby_script: RUST_BACKTRACE=1 ./miniruby --yjit-call-threshold=1 -e0
|
||||
test_dump_insns_script: RUST_BACKTRACE=1 ./miniruby --yjit-call-threshold=1 --yjit-dump-insns -e0
|
||||
output_stats_script: RUST_BACKTRACE=1 ./miniruby --yjit-call-threshold=1 --yjit-stats -e0
|
||||
boot_miniruby_script: ./miniruby --yjit-call-threshold=1 -e0
|
||||
test_dump_insns_script: ./miniruby --yjit-call-threshold=1 --yjit-dump-insns -e0
|
||||
output_stats_script: ./miniruby --yjit-call-threshold=1 --yjit-stats -e0
|
||||
full_build_script: source $HOME/.cargo/env && make
|
||||
cargo_test_script: source $HOME/.cargo/env && cd yjit && cargo test
|
||||
make_test_script: source $HOME/.cargo/env && make test RUN_OPTS="--yjit-call-threshold=1 --yjit-verify-ctx"
|
||||
|
|
Loading…
Reference in a new issue