HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-2.5.9/gems/nio4r-2.5.8/.github/workflows/workflow.yml
name: nio4r

on: [push, pull_request]

jobs:
  build:
    name: >-
      ${{matrix.os}}, ${{matrix.ruby}}
    env:
      CI: true
      TESTOPTS: -v

    runs-on: ${{matrix.os}}
    strategy:
      fail-fast: false
      matrix:
        os: [ ubuntu-20.04, ubuntu-18.04, macos-10.15, windows-2019 ]
        ruby: [ head, 3.0, 2.7, 2.6, 2.5, 2.4, jruby, truffleruby-head ]
        include:
          - { os: ubuntu-16.04, ruby: 3.0 }
          - { os: ubuntu-16.04, ruby: 2.4 }
        exclude:
          - { os: windows-2019, ruby: head  }
          - { os: windows-2019, ruby: jruby }
          - { os: windows-2019, ruby: truffleruby-head }

    steps:
      - name: repo checkout
        uses: actions/checkout@v2

      - name: load ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{matrix.ruby}}

      - name: RubyGems, Bundler Update
        run: gem update --system --no-document --conservative

      - name: bundle install
        run: bundle install --path .bundle/gems --without development

      - name: compile
        run: bundle exec rake compile

      - name: test
        run: bundle exec rake spec
        timeout-minutes: 10