Run tests against ASAN #79
Workflow file for this run
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: Bench | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Benchmarks | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.0' | |
bundler-cache: true | |
- name: Compile | |
run: bundle exec rake compile | |
- name: Encoder benchmark | |
run: bundle exec ruby benchmark/encoder.rb | |
- name: Parser benchmark | |
run: bundle exec ruby benchmark/parser.rb | |
- name: Valiate benchmark | |
run: bundle exec ruby benchmark/validate.rb |