Skip to content

When a executable Tk library script, e.g. "sample/tktextio.rb", #38

When a executable Tk library script, e.g. "sample/tktextio.rb",

When a executable Tk library script, e.g. "sample/tktextio.rb", #38

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
name: build (${{ matrix.ruby }}
strategy:
matrix:
ruby: [ 3.2, 3.1, '3.0', 2.7, head ]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- 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