Repository navigation
DEBUG: instrument switch_fiber #46
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: Tests (libev) | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| ruby: ['3.3', '3.4', '4.0', 'head'] | |
| name: >- | |
| ${{matrix.os}}, ${{matrix.ruby}} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{matrix.os}}-${{matrix.ruby}}-libev | |
| cancel-in-progress: true | |
| runs-on: ${{matrix.os}} | |
| env: | |
| POLYPHONY_LIBEV: "1" | |
| steps: | |
| - name: Setup machine | |
| uses: actions/checkout@v6 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{matrix.ruby}} | |
| bundler-cache: true # 'bundle install' and cache | |
| cache-version: 2 | |
| - name: Kernel version | |
| run: uname -a | |
| - name: Compile C-extension | |
| run: bundle exec rake compile | |
| - name: Run tests | |
| run: bundle exec rake test |