summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 3e03d0adc3..293873af5b 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -116,7 +116,12 @@ yjit_task:
--prefix="$RUBY_PREFIX"
--enable-yjit=dev
make_miniruby_script: source $HOME/.cargo/env && make -j miniruby
- make_bindgen_script: source $HOME/.cargo/env && make -j yjit-bindgen
+ make_bindgen_script: |
+ if [[ "$CC" = "clang-12" ]]; then
+ source $HOME/.cargo/env && make -j yjit-bindgen
+ 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