Avoid the use of the rb_eval_cmd_kw function if it is not available #72
Workflow file for this run
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: | |
| name: build (${{ matrix.ruby }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: [ 3.4, 3.3, 3.2, 3.1, head ] | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Install dependencies | |
| run: | | |
| sudo apt install tk-dev | |
| gem install bundler --no-document | |
| bundle install | |
| - name: Run test | |
| run: | | |
| rake compile -- --with-tcltkversion=8.6 \ | |
| --with-tcl-lib=/usr/lib/x86_64-linux-gnu \ | |
| --with-tk-lib=/usr/lib/x86_64-linux-gnu \ | |
| --with-tcl-include=/usr/include/tcl8.6 \ | |
| --with-tk-include=/usr/include/tcl8.6 |