Can’t give away all my .travis.yml, here are some key parts:
language: ruby
dist: focal
rvm:
- 3.2.2
env:
- RUBY_CONFIGURE_OPTS="--enable-yjit"
- RUBY_YJIT_ENABLE=1
- RUBYOPT="--enable-yjit"
cache:
npm: true
bundler: true
sudo: false
services:
- mysql
(etc)
I think you get the point here, again we are blocked from this particular build and need help asap. @montana?
Montana
2
Hi @howtotalktogirls,
Based on the tiny snippet you shared from your .travis.yml
file, I can personally infer a good deal about the setup and workflow of your pipeline.
You need to disable the 3.2.2
binary of Ruby YJIT and set up your environment accordingly, add the following to your .travis.yml
file:
before_install:
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
- source "$HOME/.cargo/env"
- rustc --version
- RUBYCONFIGUREOPTS=--enable-yjit rvm reinstall 3.2.2 --disable-binary
This will enforce that the 3.2.2 version of YJIT is used without the pre-compiled binary, and it also sets up Rust with the stable toolchain.