summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maximechevalierb@gmail.com>2022-07-20 10:43:14 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-29 08:47:02 -0700
commit90137f519459764a78ae8eb777e3f396f7cffd98 (patch)
treec1837efd84744a1e80b1236e4313f2268b856791 /.cirrus.yml
parent4ae2c744ac6b5b84f2bfebb9046c0c364863d7a4 (diff)
downloadruby-90137f519459764a78ae8eb777e3f396f7cffd98.tar.gz
Implement PosMarker instruction (https://github.com/Shopify/ruby/pull/328)
* Implement PosMarker instruction * Implement PosMarker in the arm backend * Make bindgen run only for clang image * Fix if-else in cirrus CI file * Add missing semicolon * Try removing trailing semicolon * Try to fix shell/YAML syntax Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
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