Skip to content

dlopen: add support for INPUT(-lXXX) #583

dlopen: add support for INPUT(-lXXX)

dlopen: add support for INPUT(-lXXX) #583

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
host:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-latest
- windows-latest
ruby:
- '2.5'
- '2.6'
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- debug
- jruby
- truffleruby
include:
- { os: windows-latest , ruby: mingw }
- { os: windows-latest , ruby: mswin }
exclude:
- { os: macos-14 , ruby: '2.5' }
- { os: windows-latest , ruby: '3.0' }
- { os: windows-latest , ruby: debug }
- { os: windows-latest , ruby: truffleruby }
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle install
- run: rake compile
# If Fiddle in Ruby's master has the same version of this Fiddle,
# "gem install pkg/*.gem" fails.
- run: rake version:bump
if: >-
matrix.ruby == 'debug' ||
matrix.ruby == 'mingw' ||
matrix.ruby == 'mswin'
# This is for ensuring using Fiddle in this repository.
- run: ruby -Ilib test/run.rb
- run: rake install
- name: Run test against installed gem
# We can't use Fiddle gem with RubyInstaller because
# RubyInstaller requires Fiddle before rubygems is loaded:
# https://github.com/oneclick/rubyinstaller2/blob/master/lib/ruby_installer/build/dll_directory.rb#L1
if: >-
matrix.os != 'windows-latest' ||
(matrix.os == 'windows-latest' && matrix.ruby == 'mswin')
run: |
ruby -run -e mkdir -- -p tmp/
ruby -run -e cp -- -pr test/ tmp/
cd tmp
ruby test/run.rb
docker:
name: >-
${{ matrix.service }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
service:
- fedora-latest
steps:
- uses: actions/checkout@v4
- run: docker compose build ${{ matrix.service }}
- run: docker compose run --rm ${{ matrix.service }}