🔧 Change Ruby setup action

This commit is contained in:
yoshoku 2021-07-11 01:19:29 +09:00
parent 7c4494aef1
commit 292489e306
No known key found for this signature in database
GPG Key ID: CE6FD44E4CECB558
2 changed files with 6 additions and 14 deletions

View File

@ -14,13 +14,9 @@ jobs:
- name: Install BLAS and LAPACK
run: sudo apt-get install -y libopenblas-dev liblapacke-dev
- name: Set up Ruby ${{ matrix.ruby }}
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Build and test with Rake
env:
LD_LIBRARY_PATH: '/usr/lib/x86_64-linux-gnu/'
run: |
gem install --no-document bundler
bundle install --jobs 4 --retry 3
bundle exec rake
run: bundle exec rake

View File

@ -14,16 +14,12 @@ jobs:
- name: Install BLAS and LAPACK
run: sudo apt-get install -y libopenblas-dev liblapacke-dev
- name: Set up Ruby 2.7
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- name: Build and test with Rake
env:
LD_LIBRARY_PATH: '/usr/lib/x86_64-linux-gnu/'
run: |
gem install bundler
bundle install
bundle exec rake
run: bundle exec rake
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1.1.2
with: