Update CI #148
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: Ruby | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby 3.3 | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.x | |
- name: Build and test with rspec | |
run: | | |
sudo apt-get update | |
sudo apt-get install git libfontconfig1-dev libsndfile1-dev libsdl2-dev libmpg123-dev libopenal1 libopenal-dev | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
bundle exec rspec |