Improved code #20
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] # macos-latest requires large boost download | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
bundler-cache: true | |
- if: ${{ startsWith(matrix.os, 'ubuntu') }} | |
run: sudo apt update && sudo apt install libvw0 | |
- if: ${{ startsWith(matrix.os, 'macos') }} | |
run: brew install vowpal-wabbit | |
- run: bundle exec rake test |