• A few days ago my Github Action for rt-kits-api3 broke because the default operating system for ubuntu-latest changed to 22.04.1 from 18.04
  • The easy way to fix this was to change ubuntu-latest to ubuntu-18.04 but that will break in April 2023.
  • The proper way to fix it for now until the ruby ffi gem is fixed to work with libffi7 is to install libffi6 (alongside libffi7; libffi6 is not part of Ubuntu 22.04 and 20.04 by default) manually using the following yaml in the Github Actions file:
- name: Install libffi6
      run: |-
        curl -LO http://archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb
        sudo dpkg -i libffi6_3.2.1-8_amd64.deb


Leave a comment on github