run Async::IO specs only on Ruby 3.2+ #29
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: DRAFT API | |
on: [push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
- name: Install ZMQ and CZMQ | |
run: | | |
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig # custom libs (for linking) | |
env | |
env ZMQ_VERSION=HEAD ci/install-libzmq | |
env CZMQ_VERSION=HEAD ci/install-libczmq | |
- name: Run the default task | |
run: | | |
export LD_LIBRARY_PATH=$HOME/lib # custom libs (for execution) | |
env | |
gem install bundler | |
bundle install | |
bundle exec rake |