Repository navigation
Close stdin before terminating a timed-out memory leak child #37
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| ruby-versions: | |
| uses: ruby/actions/.github/workflows/ruby_versions.yml@master | |
| with: | |
| engine: cruby | |
| min_version: 2.3 | |
| host: | |
| needs: ruby-versions | |
| name: ${{ matrix.os }} ${{ matrix.ruby }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| include: | |
| - { os: macos-15-intel, ruby: 2.3 } | |
| - { os: macos-15-intel, ruby: 2.4 } | |
| - { os: macos-15-intel, ruby: 2.5 } | |
| - { os: windows-latest, ruby: mingw } | |
| - { os: windows-latest, ruby: mswin } | |
| exclude: | |
| - { os: macos-latest, ruby: 2.3 } | |
| - { os: macos-latest, ruby: 2.4 } | |
| - { os: macos-latest, ruby: 2.5 } | |
| - { os: windows-latest, ruby: head } | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - run: bundle exec rake test | |
| - run: bundle exec rake build | |
| - uses: actions/upload-artifact@v7 | |
| if: >- | |
| matrix.os == 'ubuntu-latest' && | |
| (matrix.ruby == needs.ruby-versions.outputs.latest) | |
| with: | |
| name: gem | |
| path: pkg/ |