Removed unneeded code #164
This file contains hidden or 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: | |
| include: | |
| - ruby: "4.0" | |
| os: ubuntu-24.04 | |
| - ruby: 3.4 | |
| os: ubuntu-24.04 | |
| - ruby: 3.3 | |
| os: ubuntu-22.04 | |
| - ruby: 3.2 | |
| os: macos-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| - if: ${{ startsWith(matrix.os, 'ubuntu') }} | |
| run: sudo apt-get install libblas-dev liblapack-dev | |
| - if: ${{ startsWith(matrix.os, 'macos') }} | |
| run: brew install openblas lapack libomp | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - run: MAKE="make -j$(getconf _NPROCESSORS_ONLN)" bundle exec rake compile | |
| - run: bundle exec rake test |