Prepend the Native module to the singleton class of the FFI module #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
name: ${{ matrix.os }} Ruby ${{ matrix.ruby }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu", "macos", "windows"] | |
ruby: ["2.7", "3.0", "3.1", "3.2"] | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Download libui shared libraries | |
run: bundle exec rake vendor:auto | |
- name: Rake test (XVFB) | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: bundle exec rake test |