Add RoutingDimension#set_slack_cost_coefficient_for_vehicle and #set_… #342
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: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - ruby: "4.0" | |
| os: ubuntu-24.04 | |
| valgrind: true | |
| - ruby: 3.4 | |
| os: macos-26 | |
| - ruby: 3.3 | |
| os: macos-15-intel | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - 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 | |
| - if: ${{ matrix.valgrind }} | |
| run: | | |
| sudo apt-get update && sudo apt-get install valgrind | |
| bundle exec rake test:valgrind |