Skip to content

Add http simple server script (for benchmarking) #606

Add http simple server script (for benchmarking)

Add http simple server script (for benchmarking) #606

Workflow file for this run

name: Tests (libev)
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ['3.1', '3.2', 'head']
name: >-
${{matrix.os}}, ${{matrix.ruby}}
runs-on: ${{matrix.os}}
env:
POLYPHONY_LIBEV: "1"
steps:
- name: Setup machine
uses: actions/checkout@v3
- 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